User Tools

Site Tools


ixe:features:units:tom

T.O.M.

The T.O.M. is a standing turret that will attack nearby creeper.

Unit Stats

Unit Usage

T.O.M. will attack nearby creeper using its cannon. When exposed to Angorium, T.O.M. will become supercharged. This will cause it to fly around uncontrollably. The fire rate of its cannon will also be drastically increased.

T.O.M. cannot be moved the same way you move your other ships but is affected by physics; digging the area underneath T.O.M. can allow you to move him to a new area to fight, so long as that area is down.

Spoilers

Unit JSON

Unit JSON

{
	"type": "unit",
	"displayname":"T.O.M.",
	"image": "body.png",
	"position": [0, 0],
	"pivot": [0.5, 0.5],
	"isbuilt": true,
	"hasphysics": true,
	"enemyignore": false,
	"ammosupply": false,
	"maxammo": 1,
	"autoammo": 1,
	"parts": [],
	"scripts": [],
    "parts": [
        {
            "part": "$/weapon_sentrygun/weapon_sentrygun.json",
            "position": [ 0, 2 ],
        },
        {
            "part": "angory.json",
			"name": "angoryeyes",
			"active": false,
            "position": [ 0, 5 ],
        },
    ],
	"controllers": [
        { "name": "angoriumharvest" },
        { "name": "ondestroy_sandexplosion" }
    ],
	"playercandestroy": true,
	"playercontrolbuildsupply": false,
	"playercontrolammosupply": false,
	"creeperdamages": true,
}

The angory.json file:

{
	"type": "part",
	"image": "angory.png",
	"position": [0, 0],
	"pivot": [0.5, 0.5],
	"isbuilt": true,
}


ixe/features/units/tom.txt · Last modified: 2025/01/16 13:51 by karsten75