Menu

#2001 Hack Mover and Edit Mode vs. Light Source and On Fire

Regression
closed
None
5
2017-04-27
2017-01-04
No

As part of trying to add the Silver Seed NPCs as standard NPCs, I am trying to give each one the same gear their Equipment Records include.

Shal has many many spell shapes, so I gave him a backpack. But when I go to put spell shapes with the Light Source and On Fire flags in his backpack, I get a WON'T FIT message. So it looks like the new check that blocks shapes with these flags from being edited into place is applied even when using Hack Mover and Edit Mode. Could this be changed so these checks do not happen when hack moving or editing, please?

Discussion

  • Knight Captain

    Knight Captain - 2017-01-04

    Won't Fit
    208 Ignite
    856 Fire Bolt
    857 Dragon Breath
    Lit Candles and Lit Torches, fires, etc.

    Will Fit
    281 Curse
    287 Swordstrike
    339 Dispel Magic
    397 unnamed fireball (it doesn't have these flags set)
    398 unnamed telekinesis
    408 Paralyze
    527 Death Bolt

     
  • Knight Captain

    Knight Captain - 2017-01-04

    It's just the On Fire flag that is the issue, items with Light Source like the fire sword and firedoom staff are okay.

    The original games use the red X cursor for this rejection, not the Won't Fit cursor.

     
  • Dominik Reichardt

    in contain.cc:134 you need to replace
    if (!dont_check && add_info.is_on_fire())
    with
    if (!dont_check && !cheat.in_map_editor() && !cheat.in_hack_mover() && add_info.is_on_fire())
    it still won't allow you to ignite a torch in a container but the is_on_fire is ignored for putting into conatiners.
    I'll ask the powers that be some other time.

     
  • Dominik Reichardt

    • status: open --> closed
    • assigned_to: Dominik Reichardt
     
  • Dominik Reichardt

    Just noticed that this was a recent restriction and should be ok for hackmover/map edit mode.