Update CLAUDE.md, .gitkeep, Server.pb, and 11 more files

This commit is contained in:
2026-10-01 00:19:11 +02:00
parent 28fede25e6
commit e5ee80306e
12 changed files with 83 additions and 8 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
* CRC32B - Hashing algo * CRC32B - Hashing algo
* HashMap - HashMap implementation**s** * HashMap - HashMap implementation**s**
* server - ... * server - ...
* defs - ... * defs - ... (Ignore any file starting with `_`)
* items - ... * items - ...
* reagents - ... * reagents - ...
View File
+1 -1
View File
@@ -3,7 +3,7 @@
EnableExplicit EnableExplicit
;XIncludeFile "../Commons/HashMap/HashMap.pbi" ;XIncludeFile "../Commons/HashMap/HashMap.pbi"
XIncludeFile "./test/Object.pbi" XIncludeFile "./Shared/Object.pbi"
#DefsFolder = "C:\Users\Herwin\Desktop\Projects\Yass13" #DefsFolder = "C:\Users\Herwin\Desktop\Projects\Yass13"
+75
View File
@@ -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" type="item"
# Trait for organ # Trait for organ
[Trait.Organ] [Item.Organ]
slot="kidney_left;kidney_right" slot="kidney_left;kidney_right"
[Trait.Edible] [Item.Edible]
nutrition = 0.01 nutrition = 0.01
portions = 1 portions = 1
+1 -1
View File
@@ -3,7 +3,7 @@ id="carbon"
type="reagent" type="reagent"
[Trait.Chem] [Reagent.Chem]
# As kelvins # As kelvins
# Sublimes at 1 atm, so melting = boiling # Sublimes at 1 atm, so melting = boiling
melting = 3915 melting = 3915
+1 -1
View File
@@ -3,7 +3,7 @@ id="carbon_dioxide"
type="reagent" type="reagent"
[Trait.Chem] [Reagent.Chem]
# As kelvins # As kelvins
# Sublimes at 1 atm, so melting = boiling # Sublimes at 1 atm, so melting = boiling
melting = 194.65 melting = 194.65
+2 -2
View File
@@ -3,7 +3,7 @@ id="oxygen"
type="reagent" type="reagent"
[Trait.Chem] [Reagent.Chem]
# As kelvins # As kelvins
melting = 54.36 melting = 54.36
@@ -14,6 +14,6 @@ boiling = 90.188
density = 1.429 density = 1.429
[Trait.ChemOxydizer] [Reagent.ChemOxydizer]
# Keep as-is, I'll implement later # Keep as-is, I'll implement later
idk = 1.0 idk = 1.0
View File