raylib-wasm-transpiler/server/schema.json

241 lines
6.2 KiB
JSON
Raw Permalink Normal View History

{
"Vector3": {
2024-06-30 21:12:58 -04:00
"comment": "A representation of a position in 3D space",
"members": {
"x": {
"type": "f32",
"kind": "scalar",
"comment": "x coordinate"
},
"y": {
"type": "f32",
"kind": "scalar",
"comment": "y coordinate"
},
"z": {
"type": "f32",
"kind": "scalar",
"comment": "z coordinate"
}
}
},
2024-05-29 20:47:19 -04:00
"Stats": {
2024-06-30 21:12:58 -04:00
"comment": "User stats",
"members": {
"Strength": {
"type": "u8",
"kind": "scalar",
"comment": "Physical attack damage + Equipment Load"
},
"Endurance": {
"type": "u8",
"kind": "scalar",
"comment": "HP + Dmg mitigation for physical damage, how much stamina you have"
},
"Intelligence": {
"type": "u8",
"kind": "scalar",
"comment": "Use/build steampunk gadgets + be able to read specific logical papers"
},
"Wisdom": {
"type": "u8",
"kind": "scalar",
"comment": "Number of magic / special attack / skills you can remember at one time."
},
"Charisma": {
"type": "u8",
"kind": "scalar",
"comment": "how good you can talk, persuade, etc."
}
2024-05-29 20:47:19 -04:00
}
},
"Skills": {
2024-06-30 21:12:58 -04:00
"comment": "User skills",
"members": {
"Artisan": {
"type": "u8",
"kind": "scalar",
"comment": "Crafting, visual arts, etc."
},
"Culinary": {
"type": "u8",
"kind": "scalar",
"comment": "cooking, baking, brewing, "
},
"Ranged": {
"type": "u8",
"kind": "scalar",
"comment": "using guns/cannons, bows, etc."
},
"Melee": {
"type": "u8",
"kind": "scalar",
"comment": "using swords, hammers, pole-arms etc."
},
"Acrobatics": {
"type": "u8",
"kind": "scalar",
"comment": "being able to contort, move, dodge, etc."
},
"Prestidigitation": {
"type": "u8",
"kind": "scalar",
"comment": "skullduggery, lock-picking, deceiving, slight of hand"
},
"Engineering": {
"type": "u8",
"kind": "scalar",
"comment": " creating and using contraptions, building houses"
},
"Metalworking": {
"type": "u8",
"kind": "scalar",
"comment": "obvious, but in this you can also use automatic stuff"
},
"Language": {
"type": "u8",
"kind": "scalar",
"comment": "ability to read/write a specific language"
},
"Medicine": {
"type": "u8",
"kind": "scalar",
"comment": "healing hp, getting rid of diseases, etc."
},
"Alchemy": {
"type": "u8",
"kind": "scalar",
"comment": "Creating potions, creating alloys, creating chemicals, component based 'magic'"
},
"Fishing": {
"type": "u8",
"kind": "scalar",
"comment": "collecting fish"
},
"Mining": {
"type": "u8",
"kind": "scalar",
"comment": "collecting ore"
},
"Survival": {
"type": "u8",
"kind": "scalar",
"comment": "woodcutting, fire-making, hunting, collecting herbs, etc."
},
"Gardening": {
"type": "u8",
"kind": "scalar",
"comment": "growing plants, herbs, etc."
},
"History": {
"type": "u8",
"kind": "scalar",
"comment": "will give more information when examining some objects"
}
}
},
"DerivedStats": {
2024-06-30 21:12:58 -04:00
"comment": "Derived user stats",
"members": {
"Hitpoints": {
"type": "u8",
"kind": "scalar",
"comment": "how many hits you can take, if it reaches 0 you ded!"
},
"Stamina": {
"type": "u8",
"kind": "scalar",
"comment": "How many strenuous actions you can take, i.e. swinging a hammer, attacking, fishing, etc."
},
"Perception": {
"type": "u8",
"kind": "scalar",
"comment": "being able to observe some objects"
},
"Luck": {
"type": "u8",
"kind": "scalar",
"comment": "Get better probability rolls for things that matter for rolls"
},
"Stealth": {
"type": "u8",
"kind": "scalar",
"comment": "Probability of being discovered when hiding"
},
"Attractiveness": {
"type": "u8",
"kind": "scalar",
"comment": "based on your character you make in the creator. more attractive will have better outcomes with aristocracy and more 'ugly' will have better outcomes with working class."
},
"Affluence": {
"type": "u8",
"kind": "scalar",
"comment": "same as attractiveness but can change with money"
},
"Holyness": {
"type": "i8",
"kind": "scalar",
"comment": "how attuned to the vision of Eru"
}
2024-05-29 20:47:19 -04:00
}
},
"Entity": {
2024-06-30 21:12:58 -04:00
"comment": "Something that can exist in 3D space",
"members": {
"Name": {
"type": "string",
"kind": "string",
"size": "24",
"comment": "Name of the entity"
},
"Vector3": {
"type": "Vector3",
"kind": "struct",
"comment": "Vector3 of the entity in space"
},
"Stats": {
"type": "Stats",
"kind": "struct",
"comment": "Base stats"
},
"DerivedStats": {
"type": "DerivedStats",
"kind": "struct",
"comment": "Stats that are derived from skills and base stats"
},
"Skills": {
"type": "Skills",
"kind": "struct",
"comment": "Stuff that your character can do"
}
}
},
"Item": {
2024-06-30 21:12:58 -04:00
"comment": "Item",
"members": {
"Name": {
"type": "string",
"kind": "string",
"size": "24",
"comment": "Name of the item"
},
"BaseValue": {
"type": "i32",
"kind": "scalar",
"comment": "Default starting value of the item"
}
}
},
"Phenomenon": {
2024-06-30 21:12:58 -04:00
"comment": "Kinda like an action, cant remember",
"members": {
"Name": {
"type": "string",
"kind": "string",
"size": "64",
"comment": "Name of the phenomenon"
}
}
}
}