summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json37
-rw-r--r--content/encyclopediae/npcs.json35
-rw-r--r--content/maps/town.json36
3 files changed, 92 insertions, 16 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index bd1ae9c..ca12897 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -124,6 +124,32 @@
]]
]]}]
]
+ },
+ "sewingtable": {
+ "sprite": "sewingtable",
+ "height": 1.0,
+ "components": [
+ ["Interactable", {"typ": "exchange", "arg": ["list", [
+ "sew ",
+ ["list", [
+ ["list", ["cape", ["list", ["cottoncloth", "cottoncloth", "cottoncloth", "cottonyarn", "cottonyarn"]], ["list", ["cape"]]]]
+ ]]
+ ]]}]
+ ]
+ },
+ "tub": {
+ "sprite": "tub",
+ "height": 1.0,
+ "components": [
+ ["Interactable", {"typ": "exchange", "arg": ["list", [
+ "dye ",
+ ["list", [
+ ["list", ["red cape", ["list", ["cape", "reddye"]], ["list", ["redcape"]]]],
+ ["list", ["green cape", ["list", ["cape", "greendye"]], ["list", ["greencape"]]]],
+ ["list", ["blue cape", ["list", ["cape", "bluedye"]], ["list", ["bluecape"]]]]
+ ]]
+ ]]}]
+ ]
}
},
"items": {
@@ -158,6 +184,17 @@
"stats": {"mining": 5}
}]
},
+ "reddye": {"sprite": "bag"},
+ "greendye": {"sprite": "bag"},
+ "bluedye": {"sprite": "bag"},
+ "cape": {
+ "sprite": "armour",
+ "action": ["equip", {
+ "slot": "back",
+ "stats": {},
+ "sprite": "grayplayer"
+ }]
+ },
"redcape": {
"sprite": "armour",
"action": ["equip", {
diff --git a/content/encyclopediae/npcs.json b/content/encyclopediae/npcs.json
index ffc60cf..02f13ad 100644
--- a/content/encyclopediae/npcs.json
+++ b/content/encyclopediae/npcs.json
@@ -85,6 +85,7 @@
"trader": {
"sprite": "human",
"height": 1.5,
+ "name": "crop trader",
"components": [
["Interactable", {"typ": "exchange", "arg": ["list", [
"buy ",
@@ -103,6 +104,27 @@
["Movable", {"cooldown": 3}]
]
},
+ "dyetrader": {
+ "sprite": "human",
+ "height": 1.5,
+ "name": "dye trader",
+ "components": [
+ ["Interactable", {"typ": "exchange", "arg": ["list", [
+ "buy ",
+ ["list", [
+ ["list", ["red dye", ["list", ["club", "club"]], ["list", ["reddye"]]]],
+ ["list", ["green dye", ["list", ["stone", "stone", "stone", "stone", "stone"]], ["list", ["greendye"]]]],
+ ["list", ["blue dye", ["list", ["sword"]], ["list", ["bluedye"]]]]
+ ]]
+ ]]}],
+ ["MonsterAI", {
+ "view_distance": 1,
+ "move_chance": 0.01,
+ "homesickness": 0.3
+ }],
+ ["Movable", {"cooldown": 3}]
+ ]
+ },
"toolsmith": {
"sprite": "human",
"height": 1.5,
@@ -121,6 +143,19 @@
}],
["Movable", {"cooldown": 3}]
]
+ },
+ "villager": {
+ "sprite": "human",
+ "height": 1.5,
+ "name": "villager",
+ "components": [
+ ["MonsterAI", {
+ "view_distance": 1,
+ "move_chance": 0.01,
+ "homesickness": 0.3
+ }],
+ ["Movable", {"cooldown": 3}]
+ ]
}
}
}
diff --git a/content/maps/town.json b/content/maps/town.json
index 7a74be3..98e3de0 100644
--- a/content/maps/town.json
+++ b/content/maps/town.json
@@ -25,23 +25,23 @@
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,======.....................,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,======.....................,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,======.....................,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,,,,,,,,,,,,,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,######,...,,,,,,,,,,,,,,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#++++#,...,,,,,,,,,,,,,,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#t+++#,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#++++#,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#++++#,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,#######,,#+####,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,#u++++#,,#++D+#,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,#u++V+#,,#++++#,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,#u++++#,,#++++#,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,#####+#,,###+##,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,.,,,,,,.,,,...,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,======.....................,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,======.....................,,,,,,,,,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,======.....................,,######,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,,,,,,,,...,,#++V+#,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,######,.....++++s#,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#++++#,...,,#++++#,,,,,,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#t+++#,...,,######,,,,,,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#+++++....,,,,,,,,,,,,,,,,h%",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,#++++#,....................%",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,,######,....................%",
@@ -52,7 +52,7 @@
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,#+++++#,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,#4++++#,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~,,,,,,,,,,#++++++....,,,,,#++++++#,,,h,",
- ",h,,,,,,,,,,,,,,,,,~~~~~~~,,,,,,,,,#+++++#,...,,,,,#++++++#,,,h,",
+ ",h,,,,,,,,,,,,,,,,,~~~~~~~,,,,,,,,,#+V+++#,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~,,,,,#+++5+#,...,,,,,#+++S++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~~~~,,#######,...,,,,,#++++++#,,,h,",
",h,,,,,,,,,,,,,,,,,~~~~~~~~~~~~~~~~~,,,,,,,...,,,,,########,,,h,",
@@ -93,6 +93,10 @@
"t": ["floor", "trader"],
"4": ["floor", "loom"],
"5": ["floor", "spinningwheel"],
+ "s": ["floor", "sewingtable"],
+ "u": ["floor", "tub"],
+ "V": ["floor", "villager"],
+ "D": ["floor", "dyetrader"],
" ": []
}
}