share/hedgewars/Data/Scripts/SimpleMission.lua
changeset 14813 828dad84b968
parent 14812 16d5951d4044
child 14928 4c5fb1ee75b7
equal deleted inserted replaced
14812:16d5951d4044 14813:828dad84b968
   159 		- yMin		gear's Y coordinate must be lower than this
   159 		- yMin		gear's Y coordinate must be lower than this
   160 		- yMax		gear's Y coordinate must be higher than this
   160 		- yMax		gear's Y coordinate must be higher than this
   161 	- type="distGearPos"	Distance between a gear and a fixed position
   161 	- type="distGearPos"	Distance between a gear and a fixed position
   162 		FAIL CONDITION:	Gear destroyed
   162 		FAIL CONDITION:	Gear destroyed
   163 		- distance	goal distance to compare to
   163 		- distance	goal distance to compare to
   164 		- relationship	"greaterThan" or "lowerThan"
   164 		- relationship	"greaterThan" or "smallerThan"
   165 		- id		gear to watch
   165 		- id		gear to watch
   166 		- x		x coordinate to reach
   166 		- x		x coordinate to reach
   167 		- y		y coordinate to reach
   167 		- y		y coordinate to reach
   168 	- type="distGearGear"	Distance between two gears
   168 	- type="distGearGear"	Distance between two gears
   169 		FAIL CONDITION:	Any of both gears destroyed
   169 		FAIL CONDITION:	Any of both gears destroyed
   170 		- distance	goal distance to compare to
   170 		- distance	goal distance to compare to
   171 		- relationship	"greaterThan" or "lowerThan"
   171 		- relationship	"greaterThan" or "smallerThan"
   172 		- id1		first gear to compare
   172 		- id1		first gear to compare
   173 		- id2		second gear to compare
   173 		- id2		second gear to compare
   174 	- type="damage"		Gear took damage or was destroyed
   174 	- type="damage"		Gear took damage or was destroyed
   175 		- id		Gear to watch
   175 		- id		Gear to watch
   176 		- damage	Minimum amount of damage to take at a single blow. Default: 1
   176 		- damage	Minimum amount of damage to take at a single blow. Default: 1