Mooses2k / SecretHistories

First-person stealth/combat roguelite
Other
14 stars 12 forks source link

Some basic rooms for the crypts #487

Open Mooses2k opened 1 year ago

Mooses2k commented 1 year ago

TODO:

PER DUNGEON LEVEL SPAWNING - BASICALLY DONE

DLvl1

DLvl2

DLvl3

DLvl4

DLvl5

STATUE & FOUNTAIN ROOMS & PEDESTAL TROPHY ROOMS

generalize the sarco placement code so we can use it to place statues in statue rooms, and a fountain in the center of a fountain room. You'll see there's a lot of code in generate_sarcophagus.gd about how to smartly place the sarcos like 'start in the center with one if enough space', 'check walls that don't have doors and see how many fit there' etc Be aware floor candealbra generation step has some stuff about corners too, so that should probably be generalized too. For statue rooms, optionally, can put those floor candelabra in corners as well (maybe overwriting a statue if a statue would have been there) Eventually we should be able to define how a room works with export vars, probably Like, x object, params : can spawn in center, can spawn on walls, can spawn in corners Something like that maybe For demo, we can keep it simpler since we have only a set number of large objects: sarcos (lid and base combination), statues, fountains, floor candelabras (also, look up RoomRequirements https://github.com/Mooses2k/SecretHistories/pull/482) (last thing, related to statues. Orientation didn't matter as much for sarcos and doesn't matter for fountain, but for statues, have the statue face away from the wall it's placed next to, or, if in the middle of the room, towards a random wall with a doorway (always at 90 angles))

Some thoughts on spawning

For demo, would be nice if we at least had 'spawns in sarco', 'spawns on sarco lid', if NOTHING else. I can use the existing spawn system for rubble mostly, then have actual stuff spawn on or in sarcos.

Bonus addition: please set a minimum cultists spawned and cycle through tiles again or something until the minimum number is hit. Minimum default of 1 is fine.

found on ground? - DONE

what found in sarcos AND in fountain basins? - DONE

what found on sarcos lids and statue plinths and fountain edges? - DONE

Mooses2k commented 9 months ago

WHATS LEFT FOR DEMO:

Mooses2k commented 8 months ago

What's left, though no longer any demo blockers: