Open AgentCucco opened 3 years ago
Not only this, but also some information in the RoomDescriptor itself is immutable and should be possible to change, such as RoomDescriptor.HasWater
, for water pits.
Not only this, but also some information in the RoomDescriptor itself is immutable and should be possible to change, such as
RoomDescriptor.HasWater
, for water pits.
I am here to inform you that it is possible to change HasWater
value since Game():GetLevel():GetRoomByIdx(idx)
gives modifiable RoomDescriptor
object :)
Right now in the API there isn't any sort of method to change a room's Data, the only workaround we've been able to find is to overwrite their RoomDescriptorData with the one of another room. It would be nice to able to change the room's type via lua, room backdrop, among other options regarding their data.