A lot of times, people use stuff like MWAX to represent people in their saves, however, I think it would be nice to have a better option.
Movement: mostly, they move like viscous liquid, except they can climb up small ledges.
Interaction with other particles:
They will randomly spark PSCN and NSCN, so they can activate most controls.
Absorb small amounts of WATR, DSTW, or BUBW every so often, to simulate drinking.
If there is OXYG around, they will "breathe" it in and release CO2, the opposite as PLNT.
Death:
They will have "health" (like stickmen) represented by their life value, starting at 100 when spawned.
Take damage in mostly the same way as stickmen. (heat, cold, fire, radioactive elements, etc.)
If there are no empty spaces (or oxygen) near them, they will slowly lose health (suffocate)
So a moving liquid that stimulates human behavior? I like it, but the devs probably won't add it. It would make a great mod though
Lord_Bowserinator:
So a moving liquid that stimulates human behavior? I like it, but the devs probably won't add it. It would make a great mod though
Yeah. I think if it gets made into a mod (and works well), then there will be a higher chance of them adding it. It shouldn't be too hard to code, though it might cause more lag than most other elements, but that's ok, since usually, you will only have a few of them.
Anyway, I'm trying to think of more things for them to do, like maybe have some type of element that they can move (though this is where it starts getting complicated)
There would need to be a way for them to walk through objects, some of the buildings with wax people have tables and stuff that would get in the way. Maybe tmp could let them walk through anything that is within a certain amount of pixels from where they spawn, and they would automatically stay in this range until pressure pushes them out of it. tmp2 could do different behaviours, eg: standing, wandering, sitting, running away from anything, dead etc. Something that can change their size and non-deco colour would be useful too, but I don't think there are many standard variables left for that.
-------------------
local alife = tpt.get_property("life", i)
for dx = -1, 1 do
for dy = -1, 1 do
if tpt.get_property("type",x+dx,y+dy,i) > 0 then
tpt.set_property("life",alife-1,i)
end
end
end
-------------------
the suffocation code would be like this in lua
Ok, I got some more ideas:
-There should be an element that they can walk through, so you can make doors/furniture. I suggest BMTL.
-They will eat YEST and DYST.
-Eating/drinking/breathing will restore health.
-Allow one of them (maybe the first one placed, with tmp set to 1 or something) to be contolled with the arrow keys, as a smaller alternative to STKM.
left/right=move, up=jump, and down could be to spark stuff.
STKM does not act anything like the proposed element. With the proposed element it would be NOT under your control.