Archived from groups: rec.games.roguelike.development (
More info?)
jimrandomh wrote:
> "Jan Drahokoupil" <drahokoupil@telpro.cz> wrote:
>
> > Hi, this time I'll be glad to hear your suggestions about
> > requirement types. Those are requirements whether you're able to
> > use skill/spell/item.
> >
> > First question is: Event vs Parametric requirements ?
> > Second one is: What type of parameters ?
> >
> > I would like (for mod-makers easier) to implement parametric
> > ones..Respectively melting down all posibilities of Event
> > requirements which are wider for sure but it should be bothering
> > to implement for every skill (etc.) So having something like:
> >
> > REQUIREMENTS
> > |-Type:SKILL "RequiredSkill"
> > |-Type:LEVEL "RequiredLevel"
> > |-Type:QUALITY-BEING "BeingAttribute" "RequiredValue"
> > |-Type:QUALITY-ITEM "ItemAttribute" "RequiredValue"
> > |-Type:BODYPART "Bodypart" "TestIfBeingHasBodypart"
> > ..
> >
> > any suggestions on other types of requirements ?
>
> Just use a callback function which returns true if it can be used, or
> false if it can't (and returns a message to indicate why not).
Actually that's the case now..but we've found that this is really
unbearably annoying. Sometimes you just want simple requirements and
you still have to write your own scripting on that. Almost every item
has it's requirements and we're trying to simplify this but I'm just
testing if it's possible to do so. Because otherwise I'll leave on the
scripting. Also I'm considering having both options available. When
it'll be possible to describe the requirements by rules it will be done
this way otherwise the scripting will be needed.
> If all you have is pre-made conditions then you are going to miss things like
> 'has X in inventory' (spell component/focus), 'used Y the turn before'
> (part of a group of items that must be used in series), 'no mailreader
> configured' (for a scroll of mail), and so on.
Sure..as I said I'm trying to put some rules together to determine
whether it is possible to have sane number of rules while covering wide
area of possibilities.
> I said this in the previous thread about item events, and I'll say it
> again. If you have to list all the possibilities that someone might
> want, then (a) there is a 100% probability you missed some
> possibilities, no matter how many you come up with; (b) your design is
> therefore broken; and (c) you are, on some unconscious level, using the
> task of listing possibilities as a procrastination tool to avoid
> working on things that actually matter.
You're right in some software I do literally hate it (mostly M$ one)
When it's suggesting that those are all rules (for example Outlook)
you'll ever find usefull. So let's say I want to combine rules and
scripting. But I need as many rules as possible to choose which are
reasonable and which are not.
> --
> CalcRogue: TI-89, TI-92+, PalmOS, Windows and Linux.
>
http://calcrogue.jimrandomh.org/
regards,
Jan