changeset 10897 | 8ea636ce120a |
parent 10696 | 173069dd7b17 |
child 11015 | 7a905f0070ce |
10895:bce67defd804 | 10897:8ea636ce120a |
---|---|
1215 |
1215 |
1216 if cat[cIndex] == "Girder Placement Mode" then |
1216 if cat[cIndex] == "Girder Placement Mode" then |
1217 PlaceGirder(x, y, CGR) |
1217 PlaceGirder(x, y, CGR) |
1218 placedSpec[placedCount] = CGR |
1218 placedSpec[placedCount] = CGR |
1219 elseif cat[cIndex] == "Rubber Placement Mode" then |
1219 elseif cat[cIndex] == "Rubber Placement Mode" then |
1220 PlaceSprite(x,y, sprAmRubber, CGR, lfBouncy) |
1220 PlaceSprite(x,y, sprAmRubber, CGR, nil, nil, nil, nil, lfBouncy) |
1221 --PlaceGirder(x, y, CGR) |
1221 --PlaceGirder(x, y, CGR) |
1222 placedSpec[placedCount] = CGR |
1222 placedSpec[placedCount] = CGR |
1223 elseif cat[cIndex] == "Target Placement Mode" then |
1223 elseif cat[cIndex] == "Target Placement Mode" then |
1224 gear = AddGear(x, y, gtTarget, 0, 0, 0, 0) |
1224 gear = AddGear(x, y, gtTarget, 0, 0, 0, 0) |
1225 elseif cat[cIndex] == "Cleaver Placement Mode" then |
1225 elseif cat[cIndex] == "Cleaver Placement Mode" then |
1318 -- sprBigDigit, sprKnife, sprFrozenHog, sprKowtow, sprBee, sprExplosion50, sprPiano, sprChunk, sprHHTelepMask, sprSeduction, sprSwitch, sprGirder, |
1318 -- sprBigDigit, sprKnife, sprFrozenHog, sprKowtow, sprBee, sprExplosion50, sprPiano, sprChunk, sprHHTelepMask, sprSeduction, sprSwitch, sprGirder, |
1319 --sprAMAmmos, sprAMSlotKeys, sprTurnsLeft, sprExplosivesRoll + maybe some others like the health case, arrows, etc |
1319 --sprAMAmmos, sprAMSlotKeys, sprTurnsLeft, sprExplosivesRoll + maybe some others like the health case, arrows, etc |
1320 |
1320 |
1321 elseif cat[cIndex] == "Sprite Placement Mode" then |
1321 elseif cat[cIndex] == "Sprite Placement Mode" then |
1322 |
1322 |
1323 PlaceSprite(x,y, reducedSpriteIDArray[pIndex], 1, landType) |
1323 PlaceSprite(x,y, reducedSpriteIDArray[pIndex], 1, nil, nil, nil, nil, landType) |
1324 --PlaceGirder(x, y, CGR) |
1324 --PlaceGirder(x, y, CGR) |
1325 placedSpec[placedCount] = reducedSpriteTextArray[pIndex] |
1325 placedSpec[placedCount] = reducedSpriteTextArray[pIndex] |
1326 placedSuperSpec[placedCount] = landType |
1326 placedSuperSpec[placedCount] = landType |
1327 |
1327 |
1328 if landType == lfIce then |
1328 if landType == lfIce then |