Page 1 of 1

Aux Bases on Icebox?

Posted: Wed Dec 01, 2021 12:05 pm
by Farquaar
I spent nearly an hour trying to get the aux base landing field to deploy on the Icemoon. Yet, no matter how much land I clear, no matter what I flatten, tiles or no tiles, I keep getting "Unable to acquire a targeting lock. Find an area clear of structures or entirely within one."
broken.png
According to the code, this message is caused by the following.

Code: Select all

if(!istype(place.loc, /area/lavaland/surface))
	return BAD_AREA
Am I doing something wrong, or are aux bases broken on Icebox?

Re: Aux Bases on Icebox?

Posted: Wed Dec 01, 2021 1:44 pm
by cacogen
Presumably that line predates Ice Box so you should change it to look for the area type the Ice Moon's surface uses in addition to Lavaland's surface area.

Re: Aux Bases on Icebox?

Posted: Wed Dec 01, 2021 1:58 pm
by Farquaar
cacogen wrote: Wed Dec 01, 2021 1:44 pm Presumably that line predates Ice Box so you should change it to look for the area type the Ice Moon's surface uses in addition to Lavaland's surface area.
If nobody does it by the time I finish exams, I'll see if I can't make a PR for that.