[CF-Devel] Map stuff - deities - inventory checking

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon Jun 7 02:10:50 CDT 2004


Karla Stenger wrote:
>
     
      hi all,
     
     >
     
     
     >
     
      iirc it is the race of the praying skill or it's name, dont have the game here 
     
     >
     
      to check it out sorry :) 
     
     
  Actually, it is the 'title' of the praying skill, which contains the gods name.

  However, with the current objects in the game, there is no way to prevent 
players of certain god from entering short of using a script.  The inventory 
checkers, which are used for things like the gatepasses and letting dragons into 
the guild, typically check against the slaying field or name of the object in 
the inventory.

  So all different passes/cards/membership devices have different slaying 
fields.  And the dragon has a special object that is used to record their 
focuses and whatnot, which is what the dragon guild can check against.

Now it could be nice to extend the checker code to perhaps match against titles 
- in fact, adding code like (if trig->tile && trig->title == op->title) ... 
would probably work fine - it'd create oddness if the checker in question is 
visible (because the title used against checking would also be added to the 
name), but if the object is hidden (beneath a floor, invisible, whatever), I 
can't think of any side effects of doing that, unless there are checkers already 
in the game that have their title set, but that seems unlikely.


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list