Modify

Ticket #229 (closed task: fixed)

Opened 9 years ago

Last modified 8 years ago

Reconcile Inventory, Dialog, and Quest engine - Techdemo

Reported by: zenbitz Owned by: b0rland_parpg
Priority: critical Milestone: Release: Techdemo 2
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description (last modified by zenbitz) (diff)

Inventory objects need to be attached to PCs. DialogeGUI call backs need to refer to PC/NPC inventory methods. Quest engine needs to be modified to refer to PC/NPC inventory (not sure about this last one).

Also not sure how Inventory distinguishes between "A Thing" and "The Thing" and "One of my pack of identical things".

This ticket has been expanded to: Make techdemo work

Attachments

Change History

comment:1 Changed 9 years ago by zenbitz

Other things I noticed: Need a input file format for PC and NPCs inventory. Currently PCs starting stuff is hardcoded. Also, I think we are going to need a "findItemByName" function instead of by ID. Since we will basically never know the ID.

Basically - questEngine needs to search PC/NPC inventory for a specific object or type of object and transfer/use/drop/destroy it.

Forum topic: http://forums.parpg.net/index.php?topic=585.0

comment:2 Changed 9 years ago by zenbitz

  • Description modified (diff)
  • Summary changed from Reconcile Inventory, Dialog, and Quest engine to Reconcile Inventory, Dialog, and Quest engine - Techdemo

comment:3 Changed 9 years ago by zenbitz

The following functionality needs to be added to allow Techdemo quests/dialogs to function:

1) PC/NPC must have way to set starting inventory (currently hard coded) 2) Quest/Dialog? engine needs way to properly manipulate NPC/PC inventory, by referring to objects by name and/or type. 3) Quest variables need to be accessible after a quest is "finished". 4) Objects in inventory need to be useable and modify quest state 5) "Crafting" system for beer (X + Y + Z => A) needs to be added

in detail, to fully "play" the tech demo as written we need: (beer quest) - see http://wiki.parpg.net/Draft:Beer_quest for details

  • A "how to make beer" pamplet that when "used" flips the correct variable in beer quest object (opens dialog options)
  • Ability to combine objects into beer. There are many different combinations of objects that form different beer qualities. Note that not only is a "beer" object created, but the quest variable has to be set to the final quality.
  • Exchange of items (see "2" above)
  • Ability to get water (either 'pure' or 'tainted') from Cistern.

(fedex quest) - see http://wiki.parpg.net/Draft:FEDEx_quest for details

  • A "dead body" object that gets found (not carryable) and sets the correct variable in fedex quest. It also flips the bit on the cistern from 'tainted' water to 'pure'.

comment:4 Changed 9 years ago by zenbitz

Re formatting: in detail, to fully "play" the tech demo as written we need:

(beer quest) - see http://wiki.parpg.net/Draft:Beer_quest for details

  • A "how to make beer" pamplet that when "used" flips the correct variable in beer quest object (opens dialog options)
  • Ability to combine objects into beer. There are many different combinations of objects that form different beer qualities. Note that not only is a "beer" object created, but the quest variable has to be set to the final quality.
  • Exchange of items (see "2" above)
  • Ability to get water (either 'pure' or 'tainted') from Cistern.

(fedex quest) - see http://wiki.parpg.net/Draft:FEDEx_quest for details

  • A "dead body" object that gets found (not carryable) and sets the correct variable in fedex quest. It also flips the bit on the cistern from 'tainted' water to 'pure'.

comment:5 Changed 8 years ago by b0rland_parpg

  • Owner changed from parpg to b0rland_parpg

comment:6 Changed 8 years ago by beliar

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.