Axe Software Forums
  Quest Developer Forum
  a player's own special inventory; a question


Author Topic:   a player's own special inventory; a question
carlii posted 31-12-2001 09:15 GMT     
Is it possible to create a command that, when typed, Quest will print a few sentences summarizing what the player is (in terms of occupation), has (what the player is wearing, carrying), has done (objectives), certain characteristics (is he/she married, gender), the player's HP (health), the player's strengths and weaknesses (attack level, magic level and other attributes), your name, etc.

Here is an example of how I would like the paragraph set-out:

Your name is Logan Smith. You are good at archery, telepathy, preaching and spellbinding. You are quick but you also lack armour. You are a human, but you speak a bit of Elfish (no reference to Lord of The Rings, this isn't even in my game ;). You are of full health.........etc.

Moreover, I need to be-able to make this feature in QDK, not by coding it by myself (can't do that!). What do you guys think? Variables?

Tyrant posted 31-12-2001 16:23 GMT          
Yeah, definately variables:

Your name is #name#. You are good at #occupation1#, #occupation2#, #occupation3# and #occupation4#. You are #agility# but you also lack armour. You are a #race#, but you speak a bit of #language# (no reference to Lord of The Rings, this isn't even in my game ;). You are of #health#.........etc.

Something like that, but the whole idea is that you use string variables (at least I would).

carlii posted 01-01-2001 12:40 GMT          
Yes, I was thinking about that...
Computer Whizz posted 01-01-2001 20:57 GMT          
I'd have thought something along THIS:

Your name is #name#. You are good at #skills#. $abilitystatus$. You speak #languages#. You $healthstatus$.

Where #skills# and #languages# can be changed, just have them in list form (Ie. "skill1, skill2, skill3 & skill4" where you add the new skill to the BEGINNING).
And the functions are so that you can have multiple sayings (Ummm - poisoned, quick but low on armour, slow but alot of armour, quick some armour but very weak, ect..).

Computer Whizz