diff --git a/DESIGN.txt b/DESIGN.txt index d46323f..7b7fb66 100644 --- a/DESIGN.txt +++ b/DESIGN.txt @@ -1,2 +1,13 @@ -design documents, yum yum This is the design doc for the game +design documents, yum yum + +structure design ideas: + +each structure has one input per item and one output per item (not stored directly, stored by saving 'recipe:') + +each structure has a 'sprite' (pointer to an array of ntca's for printing) (stored in the 'sprite:' entry in the json saves ) + +each structure has an id (stored in the 'structure:' entry in the json saves) + +connections are 'lengthless', only including a maximum throughput, an input, and an output (exactly one of each per connection) branching must be done by dedicated structures (stored as 'connection{throughput:, input:, output:}') + + +item design ideas: + +item stack sizes are unlimited (as far an uint_N is concerned), but structures may impose their own limits on stack size + +stored as 'item:{id:, count:}' \ No newline at end of file