2
0
Эх сурвалжийг харах

Added new version of witch hut config

Ivan Savenko 2 жил өмнө
parent
commit
c0a31b716a

+ 69 - 0
config/objects/rewardableGeneric.json

@@ -0,0 +1,69 @@
+{
+	"witchHut" : {
+		"index" :113,
+		"handler" : "configurable",
+		"base" : {
+			"sounds" : {
+				"visit" : ["GAZEBO"]
+			}
+		},
+		"types" : {
+			"witchHut" : {
+				"index" : 0,
+				"aiValue" : 1500,
+				"rmg" : {
+					"zoneLimit"	: 3,
+					"value"		: 1500,
+					"rarity"	: 80
+				},
+				"compatibilityIdentifiers" : [ "object" ],
+				
+				"visitMode" : "limiter",
+
+				"variables" : {
+					"secondarySkill" : {
+						"gainedSkill" : { // Note: this variable name is used by engine for H3M loading and by AI
+							"noneOf" : [
+								"leadership",
+								"necromancy"
+							]
+						}
+					}
+				},
+				"visitLimiter" : {
+					"secondary" : {
+						"@gainedSkill" : 1
+					}
+				},
+				"rewards" : [
+					{
+						"limiter" : {
+							"canLearnSkills" : true,
+							"noneOf" : [
+								{
+									"secondary" : {
+										"@gainedSkill" : 1
+									}
+								}
+							]
+						},
+						"secondary" : {
+							"@gainedSkill" : 1
+						}
+						"message" : 171 // Witch teaches you skill
+					}
+				],
+				"onVisited" : [
+					{
+						"message" : 172 // You already known this skill
+					}
+				],
+				"onEmpty" : [
+					{
+						"message" : 173 // You know too much (no free slots)
+					}
+				]
+			}
+		}
+	},
+}