Update CLAUDE.md, .gitkeep, Server.pb, and 11 more files
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* CRC32B - Hashing algo
|
||||
* HashMap - HashMap implementation**s**
|
||||
* server - ...
|
||||
* defs - ...
|
||||
* defs - ... (Ignore any file starting with `_`)
|
||||
* items - ...
|
||||
* reagents - ...
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
EnableExplicit
|
||||
|
||||
;XIncludeFile "../Commons/HashMap/HashMap.pbi"
|
||||
XIncludeFile "./test/Object.pbi"
|
||||
XIncludeFile "./Shared/Object.pbi"
|
||||
|
||||
|
||||
#DefsFolder = "C:\Users\Herwin\Desktop\Projects\Yass13"
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
# Base
|
||||
# --------------------
|
||||
|
||||
[Object]
|
||||
id="string"
|
||||
type="[item|reagent]"
|
||||
|
||||
|
||||
# ########################################
|
||||
# ########################################
|
||||
# ########################################
|
||||
|
||||
|
||||
# Item traits
|
||||
# ========================================
|
||||
# Only relevant if `type == "item"`
|
||||
|
||||
|
||||
# Item traits > Required
|
||||
# ----------------------------------------
|
||||
|
||||
# Applies to all items
|
||||
[Item.Base]
|
||||
# How encumbering the object is (0-5)
|
||||
# 0 - Weightless
|
||||
# 1 - Slightly
|
||||
# 2 - Normal (Single Hand)
|
||||
# 3 - Heavy (Two hands)
|
||||
# 4 - Massive (Mechs)
|
||||
# 5 - Immovable
|
||||
Encumberance=0
|
||||
|
||||
|
||||
# Item traits > Optional
|
||||
# ----------------------------------------
|
||||
|
||||
# Trait for organ
|
||||
[Item.Organ]
|
||||
slot="kidney_left;kidney_right"
|
||||
|
||||
# Defines the object as being marked as contraband
|
||||
# Ease of detection is determined through the encumberance
|
||||
[Item.Organ]
|
||||
IsContraband="0|1"
|
||||
|
||||
|
||||
[Item.Edible]
|
||||
nutrition = 0.01
|
||||
portions = 1
|
||||
|
||||
|
||||
# ########################################
|
||||
# ########################################
|
||||
# ########################################
|
||||
|
||||
|
||||
# Reagent traits
|
||||
# --------------------
|
||||
# Only relevant if `type == "reagent"`
|
||||
|
||||
[Reagent.Chem]
|
||||
# As kelvins degrees at 1atm
|
||||
melting = "numeric"
|
||||
|
||||
# As kelvins degrees at 1atm
|
||||
boiling = "numeric"
|
||||
|
||||
# As grams/liter at 1atm
|
||||
density = "numeric"
|
||||
|
||||
|
||||
# If `type == "reagent"`
|
||||
[Reagent.ChemOxydizer]
|
||||
# Keep as-is, I'll implement later
|
||||
idk = 1.0
|
||||
@@ -3,9 +3,9 @@ id="organ_kidney"
|
||||
type="item"
|
||||
|
||||
# Trait for organ
|
||||
[Trait.Organ]
|
||||
[Item.Organ]
|
||||
slot="kidney_left;kidney_right"
|
||||
|
||||
[Trait.Edible]
|
||||
[Item.Edible]
|
||||
nutrition = 0.01
|
||||
portions = 1
|
||||
@@ -3,7 +3,7 @@ id="carbon"
|
||||
type="reagent"
|
||||
|
||||
|
||||
[Trait.Chem]
|
||||
[Reagent.Chem]
|
||||
# As kelvins
|
||||
# Sublimes at 1 atm, so melting = boiling
|
||||
melting = 3915
|
||||
|
||||
@@ -3,7 +3,7 @@ id="carbon_dioxide"
|
||||
type="reagent"
|
||||
|
||||
|
||||
[Trait.Chem]
|
||||
[Reagent.Chem]
|
||||
# As kelvins
|
||||
# Sublimes at 1 atm, so melting = boiling
|
||||
melting = 194.65
|
||||
|
||||
@@ -3,7 +3,7 @@ id="oxygen"
|
||||
type="reagent"
|
||||
|
||||
|
||||
[Trait.Chem]
|
||||
[Reagent.Chem]
|
||||
# As kelvins
|
||||
melting = 54.36
|
||||
|
||||
@@ -14,6 +14,6 @@ boiling = 90.188
|
||||
density = 1.429
|
||||
|
||||
|
||||
[Trait.ChemOxydizer]
|
||||
[Reagent.ChemOxydizer]
|
||||
# Keep as-is, I'll implement later
|
||||
idk = 1.0
|
||||
|
||||
Reference in New Issue
Block a user