nexus/shops.h

23 lines
1.5 KiB
C
Raw Normal View History

- [+] shops on a level should make loud sounds every few turns. (onein3) - [+] inifniite loop in ?k - [+] add to balaclava: equipconfer -> f_anonymous - [+] can't get banned from shops with this! - [+] when randomly increasing skills, don't select maxed ones. - [+] remove warning for movement while bleeding - [+] injuries heal too fast. - [+] bug: The sound of sounds of fighting awakens you! - [+] shouldnt be able to rest while airborne! - [+] make drunkenness give more damage resistance! - [+] "unseen" etc not working on tombstone - [+] bug: merloch getting infinite attacks!! - [+] add "a xxx moves out of view" - [+] why are wizards starting with 2 cold spells? fixed. was getting an extra one for gaining a "new" spell skill. - [+] slowwalking shoudl reduce move volume, not eliminate it. - [+] i noticed a secret iron door forom 6 cells away! - [+] make SC_SEARCH not autopassable on natural 20. - [+] armour can have a SIZE - [+] remove some occurences of "f_noarmouron" for sz_large, sz_small creatures - [+] in "canwear", implement size check. if lf's body size isn't sz_human then armour must have "f_armoursize -> sz_xxx" - [+] exception for ears / eyes - [+] f_multisize - [+] f_armoursize sz_xxx - [+] can only wear armour whih is your size - [+] in io.c, show armour size - [+] assign f_multisize to objects - [+] when adding objects - [+] cope with asking for "large armour" etc - [+] adding to a lf's pack? make sure armour is the correct fit - [+] somewhere else? 25% chance of different size. if so, 50/50 as to which way. - [+] in getobname, show "huge armour" etc - [+] medium ("halfling size pair of gauntlets"), human ("gauntlets"), or large ("huge gauntlets") - [+] high sewing/metalwork skills will let you modify armour for custom fit. - [+] half the hit points of the object - [+] implement a multi-level menu system for shops - [+] text on shop exit ("thank you for your business!") - [+] shops: - [+] only let you donate if you can takeoff / unweild it first. - [+] replace "vending machine" with shop - [+] make shops/buildings their own category - [+] this will let us say 'random shop' - [+] enable stealing from shops - [+] armour - [+] book - [+] weapon - [+] general - [+] potion - [+] hardware - [+] food - [+] jeweller - [+] always show full name for shop items - [+] temple of xxx - - [+] actions - [+] donate - [+] detect curse - [+] bless(costs more if equipped) - [+] absolve sins - [+] special depending on who the temple is to? - [+] temple of'xxx' - assign in addobject() - [+] extend CHA/SPEECH mods to all shops - [+] disable stacking for shop objects - [+] hotel/inn - [+] actions - [+] pay to rest (for 100 turns) - [+] if you do this, call startresting() before exitting shop - [+] and set some kind of flag so monsters will never approach - [+] maybe: f_resting_in_hotel - [+] and so that they will never wake up you up through sound - [+] remove these when you stop resting. - [+] force you to stop resting once your time expires - [+] buy food/drink - [+] weapon shop: - [+] donate weapons - [+] armour shop: - [+] buy armour - [+] donate armour (so that monsters don't pick it up!) * [+] firearm reload messages - [+] don't take f_throwmissile into account when using telekinesis - [+] ranged weapons: auto reload after firing. - [+] done.
2011-11-16 11:57:21 +11:00
#include "defs.h"
int apply_shopob_restrictions(char *buf);
- [+] redo throw hit%. even inept sk_throwing should have 40% or so to hit at point blank range. - [+] only reduce hit% after first cell? - [+] increase change of player ko with yumi - [+] tranq dart and nanodart should be rodshaped. - [+] genericise purification - [+] F_PURIFIESTO v0 = newobject - [+] add toadstool -> shiitake - [+] posion potion -> water - [+] acid potion -> water - [+] rum -> water - [+] DONT make the original object type known now - [+] higher level purify food lets you select a cell! - [+] need f_targettedspell v1 & v2 to specify power. - [+] druid should get to pick one of 3 spells (from each available level) upon levelup, not anything! - [+] implement f_levspellschoolfromx - [+] TEST! - [+] implement secondary weapon swap with 'x' - [+] initial press: unweild curwep. if successful, mark as secondayr. - [+] subsequent presses: find secondary wep (or fail). remember cur. weild secondary. if successful, remove scondary flag and mark old cur wep as secondary - [+] when you move an object, it loses secondary flag. - [+] BUG: I had TWO regions with rtype->id == RG_CAVE!!! - [+] have added debug code - [+] think this is fixed - need to remove created regions when i regenerate a map. - [+] should be able to sell gems to jewelery store - [+] sm_sellitems - [+] shopsell() - [+] shop has f_cansellobclass xxx, val[0] = pct of full price you can sell for. normally 50% but 75% for gems. - [+] allow COUNT - modified askobjectwithflag ? - [+] OR add an extra *sellshop option to doaskobject ?? - [+] if this is set, only allow selection of objects which match the shop's f_shopsell flags - [+] ie. replace wantflags[] - [+] when passing this, don't also pass wantflag args!!! - [+] rename shopsell flag to f_shopacceptsflag - [+] accept F_NONE in shopacceptsflag - [+] make shopdonate use the same code - [+] make donating to shops lower their prices ? - [+] for each 100 value you donate, reduce prices by 1% - [+] ie. donate 1000 worth, reduce by 10% = 1 level of speech skill - [+] change shopsell to use applyshoppricemod - [+] applyshoppricemod needs a new arg - up or down - [+] check code in objects.c for naming too! listobs()
2012-02-07 13:50:17 +11:00
float applyshoppricemod(float origprice, lifeform_t *lf, object_t *shop, enum SHOPACTION action);
- [+] bug: getobvlue price keeps going up - [+] make food poisoning last longer! - [+] bug: pet starting in water - [+] ability to pay at shops using gems? but no change. - [+] implement - [+] require speech skill at a certain level (novice) - [+] reveal attack location for unseen attacks - [+] bug: poisonbolt spell shouldn't cause fire damage to objects! - [+] return to your original form after dying when polymorphed, but just retain SOME hp - [+] new spell: shapeshift - [+] like polymorph but only affects yourself and always controlled - [+] you have to pick something you can see - [+] spell power determiens hitdice you can copy - [+] purify food now works on all your objects, not just one - [+] Nature god(farming, creation) - [+] Ekrub - [+] doesn't like wyrms because they destroy things? - [+] objects - [+] has a pitchfork vs dragons - [+] longbow of xxx - [+] sun hat - [+] overalls - [+] gloves - [+] effects: - [+] canwill all nature spells - [+] likes - [+] killing animals (but only while hungry) - [+] killing dragons - [+] casting nature spells - [+] creating objects or lfs (wish, monsters, food) - [+] dislikes: - [+] destroying objects - [+] attackob() - [+] throwing a flask which shatters - [+] crush objects underfoot - [+] via non-nature spells...? - [+] poison - [+] attacking plants - [+] casting poison spells (same with other antipoison gods!) - [+] sacrifice: - [+] animal corpses - [+] dragon corpses - [+] pray: - [+] battle: - [+] will come to your aid against wyrms - [+] OTHERWISE: - [+] entangle enemies - [+] lightning - [+] summon plants to help you - [+] nonbattle: - [+] purify food on player - [+] THEN one of the following: - [+] cure poison - [+] fix hunger or give food - [+] heal - [+] give ammo (if ranged weapon equipped and out of ammo) - [+] give it. - [+] make it "of seeking" (ie. always hits) - [+] mend armour - [+] bless armour - [+] gifts - [+] ability: calm animals, power 10 - [+] can shapeshift into a bear - [+] resist poison - [+] resist cold - [+] ranged weapon - [+] magic ammo for ranged weapons - [+] angry (minor) - [+] no nature spells work while god is angry ? - [+] taint your food and any food you touch - [+] summons entangling vines around you - [+] angry (major) - [+] one of: - [+] cloudkill - [+] summon storm - [+] surround you with sawgrass
2012-02-01 12:31:36 +11:00
int canafford(lifeform_t *lf, int amt);
- [+] redo throw hit%. even inept sk_throwing should have 40% or so to hit at point blank range. - [+] only reduce hit% after first cell? - [+] increase change of player ko with yumi - [+] tranq dart and nanodart should be rodshaped. - [+] genericise purification - [+] F_PURIFIESTO v0 = newobject - [+] add toadstool -> shiitake - [+] posion potion -> water - [+] acid potion -> water - [+] rum -> water - [+] DONT make the original object type known now - [+] higher level purify food lets you select a cell! - [+] need f_targettedspell v1 & v2 to specify power. - [+] druid should get to pick one of 3 spells (from each available level) upon levelup, not anything! - [+] implement f_levspellschoolfromx - [+] TEST! - [+] implement secondary weapon swap with 'x' - [+] initial press: unweild curwep. if successful, mark as secondayr. - [+] subsequent presses: find secondary wep (or fail). remember cur. weild secondary. if successful, remove scondary flag and mark old cur wep as secondary - [+] when you move an object, it loses secondary flag. - [+] BUG: I had TWO regions with rtype->id == RG_CAVE!!! - [+] have added debug code - [+] think this is fixed - need to remove created regions when i regenerate a map. - [+] should be able to sell gems to jewelery store - [+] sm_sellitems - [+] shopsell() - [+] shop has f_cansellobclass xxx, val[0] = pct of full price you can sell for. normally 50% but 75% for gems. - [+] allow COUNT - modified askobjectwithflag ? - [+] OR add an extra *sellshop option to doaskobject ?? - [+] if this is set, only allow selection of objects which match the shop's f_shopsell flags - [+] ie. replace wantflags[] - [+] when passing this, don't also pass wantflag args!!! - [+] rename shopsell flag to f_shopacceptsflag - [+] accept F_NONE in shopacceptsflag - [+] make shopdonate use the same code - [+] make donating to shops lower their prices ? - [+] for each 100 value you donate, reduce prices by 1% - [+] ie. donate 1000 worth, reduce by 10% = 1 level of speech skill - [+] change shopsell to use applyshoppricemod - [+] applyshoppricemod needs a new arg - up or down - [+] check code in objects.c for naming too! listobs()
2012-02-07 13:50:17 +11:00
int getshopblessprice(object_t *o, object_t *shop);
int isalignedtemple(object_t *shop);
int obmatchessellflag(object_t *o, flag_t *f, enum SHOPACTION action);
- [+] shops on a level should make loud sounds every few turns. (onein3) - [+] inifniite loop in ?k - [+] add to balaclava: equipconfer -> f_anonymous - [+] can't get banned from shops with this! - [+] when randomly increasing skills, don't select maxed ones. - [+] remove warning for movement while bleeding - [+] injuries heal too fast. - [+] bug: The sound of sounds of fighting awakens you! - [+] shouldnt be able to rest while airborne! - [+] make drunkenness give more damage resistance! - [+] "unseen" etc not working on tombstone - [+] bug: merloch getting infinite attacks!! - [+] add "a xxx moves out of view" - [+] why are wizards starting with 2 cold spells? fixed. was getting an extra one for gaining a "new" spell skill. - [+] slowwalking shoudl reduce move volume, not eliminate it. - [+] i noticed a secret iron door forom 6 cells away! - [+] make SC_SEARCH not autopassable on natural 20. - [+] armour can have a SIZE - [+] remove some occurences of "f_noarmouron" for sz_large, sz_small creatures - [+] in "canwear", implement size check. if lf's body size isn't sz_human then armour must have "f_armoursize -> sz_xxx" - [+] exception for ears / eyes - [+] f_multisize - [+] f_armoursize sz_xxx - [+] can only wear armour whih is your size - [+] in io.c, show armour size - [+] assign f_multisize to objects - [+] when adding objects - [+] cope with asking for "large armour" etc - [+] adding to a lf's pack? make sure armour is the correct fit - [+] somewhere else? 25% chance of different size. if so, 50/50 as to which way. - [+] in getobname, show "huge armour" etc - [+] medium ("halfling size pair of gauntlets"), human ("gauntlets"), or large ("huge gauntlets") - [+] high sewing/metalwork skills will let you modify armour for custom fit. - [+] half the hit points of the object - [+] implement a multi-level menu system for shops - [+] text on shop exit ("thank you for your business!") - [+] shops: - [+] only let you donate if you can takeoff / unweild it first. - [+] replace "vending machine" with shop - [+] make shops/buildings their own category - [+] this will let us say 'random shop' - [+] enable stealing from shops - [+] armour - [+] book - [+] weapon - [+] general - [+] potion - [+] hardware - [+] food - [+] jeweller - [+] always show full name for shop items - [+] temple of xxx - - [+] actions - [+] donate - [+] detect curse - [+] bless(costs more if equipped) - [+] absolve sins - [+] special depending on who the temple is to? - [+] temple of'xxx' - assign in addobject() - [+] extend CHA/SPEECH mods to all shops - [+] disable stacking for shop objects - [+] hotel/inn - [+] actions - [+] pay to rest (for 100 turns) - [+] if you do this, call startresting() before exitting shop - [+] and set some kind of flag so monsters will never approach - [+] maybe: f_resting_in_hotel - [+] and so that they will never wake up you up through sound - [+] remove these when you stop resting. - [+] force you to stop resting once your time expires - [+] buy food/drink - [+] weapon shop: - [+] donate weapons - [+] armour shop: - [+] buy armour - [+] donate armour (so that monsters don't pick it up!) * [+] firearm reload messages - [+] don't take f_throwmissile into account when using telekinesis - [+] ranged weapons: auto reload after firing. - [+] done.
2011-11-16 11:57:21 +11:00
void shop(lifeform_t *lf, object_t *vm);
enum SHOPRETURN shopabsolve(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *ndonated);
enum SHOPRETURN shopbless(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *ndonated);
enum SHOPRETURN shopdonate(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
enum SHOPRETURN shopdetectcurse(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
enum SHOPRETURN shopid(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *nid);
- [+] shops on a level should make loud sounds every few turns. (onein3) - [+] inifniite loop in ?k - [+] add to balaclava: equipconfer -> f_anonymous - [+] can't get banned from shops with this! - [+] when randomly increasing skills, don't select maxed ones. - [+] remove warning for movement while bleeding - [+] injuries heal too fast. - [+] bug: The sound of sounds of fighting awakens you! - [+] shouldnt be able to rest while airborne! - [+] make drunkenness give more damage resistance! - [+] "unseen" etc not working on tombstone - [+] bug: merloch getting infinite attacks!! - [+] add "a xxx moves out of view" - [+] why are wizards starting with 2 cold spells? fixed. was getting an extra one for gaining a "new" spell skill. - [+] slowwalking shoudl reduce move volume, not eliminate it. - [+] i noticed a secret iron door forom 6 cells away! - [+] make SC_SEARCH not autopassable on natural 20. - [+] armour can have a SIZE - [+] remove some occurences of "f_noarmouron" for sz_large, sz_small creatures - [+] in "canwear", implement size check. if lf's body size isn't sz_human then armour must have "f_armoursize -> sz_xxx" - [+] exception for ears / eyes - [+] f_multisize - [+] f_armoursize sz_xxx - [+] can only wear armour whih is your size - [+] in io.c, show armour size - [+] assign f_multisize to objects - [+] when adding objects - [+] cope with asking for "large armour" etc - [+] adding to a lf's pack? make sure armour is the correct fit - [+] somewhere else? 25% chance of different size. if so, 50/50 as to which way. - [+] in getobname, show "huge armour" etc - [+] medium ("halfling size pair of gauntlets"), human ("gauntlets"), or large ("huge gauntlets") - [+] high sewing/metalwork skills will let you modify armour for custom fit. - [+] half the hit points of the object - [+] implement a multi-level menu system for shops - [+] text on shop exit ("thank you for your business!") - [+] shops: - [+] only let you donate if you can takeoff / unweild it first. - [+] replace "vending machine" with shop - [+] make shops/buildings their own category - [+] this will let us say 'random shop' - [+] enable stealing from shops - [+] armour - [+] book - [+] weapon - [+] general - [+] potion - [+] hardware - [+] food - [+] jeweller - [+] always show full name for shop items - [+] temple of xxx - - [+] actions - [+] donate - [+] detect curse - [+] bless(costs more if equipped) - [+] absolve sins - [+] special depending on who the temple is to? - [+] temple of'xxx' - assign in addobject() - [+] extend CHA/SPEECH mods to all shops - [+] disable stacking for shop objects - [+] hotel/inn - [+] actions - [+] pay to rest (for 100 turns) - [+] if you do this, call startresting() before exitting shop - [+] and set some kind of flag so monsters will never approach - [+] maybe: f_resting_in_hotel - [+] and so that they will never wake up you up through sound - [+] remove these when you stop resting. - [+] force you to stop resting once your time expires - [+] buy food/drink - [+] weapon shop: - [+] donate weapons - [+] armour shop: - [+] buy armour - [+] donate armour (so that monsters don't pick it up!) * [+] firearm reload messages - [+] don't take f_throwmissile into account when using telekinesis - [+] ranged weapons: auto reload after firing. - [+] done.
2011-11-16 11:57:21 +11:00
enum SHOPRETURN shopmiracle(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
enum SHOPRETURN shoppurchase(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
enum SHOPRETURN shoprepair(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
- [+] BUG: trying to go down stairs from L7 (6?) - [+] You walk down the staircase... ERROR - can't find opposite end of stairs/portal! - [+] You walk down the staircase... ERROR - unlinked stairs! - [+] This is related to the fact that all the staircases came from Jimbo's vault - [+] For some reason we're not linking them when they come for ma vault!!! - [+] "joining unliked stairs" section not working??? - [+] it calls getstairdestination, but this DOESNT call linkstairs! - [+] maby: call autolink everytime i add stairs ? or only do this during createvault ? - [+] automatically remove useless doors (ie. ones where all adjacent walkable cells are in the same room) - [+] in fix_reachability i'm drawing a corridor through vault/room walls. <- probably this one. - [+] don't allow auto reachability to enter rooms through the wrong side wall. - [+] TEST during regular playtests, see if maps look better. - [+] quality on doors. - [+] sturdy / plain / shoddy doors. this impacts the hp - [+] stone doors (solid / plain /crumbling) - [+] metal ( reinforced / plain / rusty) - [+] only show this if perception >= beginner - [+] dungeon shapes - [+] new cell attribute - locked. - [+] calcroompos can't make rooms on locked cells. - [+] normal - [+] cross - [+] circle - [+] turret - [+] - premask out blocked cells before generation! - [+] minion code - if leader dies, - [+] minions drop morale - [+] and might either immediately flee - [+] need lastdamlf - [+] if wisdom >= gtaverage, automatically turn off lamps when you go to sleep - [+] "scratch"/"gnaw" etc should be based on actual damage hp amount, not percentage. - [+] change getattackverb() - [+] 1-2 - [+] 3-6 - [+] 8-12 - [+] 12-18 - [+] 18+ - [+] shop objects should start with all flags known. - [+] allow usage of godstones without id'ing them first. this will id them. - [+] weapon/armour shop should resize armour for you for a cost. - [+] chanelling bonus - [+] novice - [+] tell you when wand is low on charges (0-3) - [+] beginner - [+] let you determine exact remaining charges in wands once it is == 1! - [+] adept - [+] let you determine exact remaining charges in wands once it is <= 3! - [+] skilled: - [+] let you determine exact remaining charges in wands once it is <= 6! - [+] master - [+] lets you always see full amount of want charges. - [+] lets you convert your mp into wand charges? "imbue item"
2012-01-09 15:02:26 +11:00
enum SHOPRETURN shopresize(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
- [+] shops on a level should make loud sounds every few turns. (onein3) - [+] inifniite loop in ?k - [+] add to balaclava: equipconfer -> f_anonymous - [+] can't get banned from shops with this! - [+] when randomly increasing skills, don't select maxed ones. - [+] remove warning for movement while bleeding - [+] injuries heal too fast. - [+] bug: The sound of sounds of fighting awakens you! - [+] shouldnt be able to rest while airborne! - [+] make drunkenness give more damage resistance! - [+] "unseen" etc not working on tombstone - [+] bug: merloch getting infinite attacks!! - [+] add "a xxx moves out of view" - [+] why are wizards starting with 2 cold spells? fixed. was getting an extra one for gaining a "new" spell skill. - [+] slowwalking shoudl reduce move volume, not eliminate it. - [+] i noticed a secret iron door forom 6 cells away! - [+] make SC_SEARCH not autopassable on natural 20. - [+] armour can have a SIZE - [+] remove some occurences of "f_noarmouron" for sz_large, sz_small creatures - [+] in "canwear", implement size check. if lf's body size isn't sz_human then armour must have "f_armoursize -> sz_xxx" - [+] exception for ears / eyes - [+] f_multisize - [+] f_armoursize sz_xxx - [+] can only wear armour whih is your size - [+] in io.c, show armour size - [+] assign f_multisize to objects - [+] when adding objects - [+] cope with asking for "large armour" etc - [+] adding to a lf's pack? make sure armour is the correct fit - [+] somewhere else? 25% chance of different size. if so, 50/50 as to which way. - [+] in getobname, show "huge armour" etc - [+] medium ("halfling size pair of gauntlets"), human ("gauntlets"), or large ("huge gauntlets") - [+] high sewing/metalwork skills will let you modify armour for custom fit. - [+] half the hit points of the object - [+] implement a multi-level menu system for shops - [+] text on shop exit ("thank you for your business!") - [+] shops: - [+] only let you donate if you can takeoff / unweild it first. - [+] replace "vending machine" with shop - [+] make shops/buildings their own category - [+] this will let us say 'random shop' - [+] enable stealing from shops - [+] armour - [+] book - [+] weapon - [+] general - [+] potion - [+] hardware - [+] food - [+] jeweller - [+] always show full name for shop items - [+] temple of xxx - - [+] actions - [+] donate - [+] detect curse - [+] bless(costs more if equipped) - [+] absolve sins - [+] special depending on who the temple is to? - [+] temple of'xxx' - assign in addobject() - [+] extend CHA/SPEECH mods to all shops - [+] disable stacking for shop objects - [+] hotel/inn - [+] actions - [+] pay to rest (for 100 turns) - [+] if you do this, call startresting() before exitting shop - [+] and set some kind of flag so monsters will never approach - [+] maybe: f_resting_in_hotel - [+] and so that they will never wake up you up through sound - [+] remove these when you stop resting. - [+] force you to stop resting once your time expires - [+] buy food/drink - [+] weapon shop: - [+] donate weapons - [+] armour shop: - [+] buy armour - [+] donate armour (so that monsters don't pick it up!) * [+] firearm reload messages - [+] don't take f_throwmissile into account when using telekinesis - [+] ranged weapons: auto reload after firing. - [+] done.
2011-11-16 11:57:21 +11:00
enum SHOPRETURN shoprest(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
- [+] redo throw hit%. even inept sk_throwing should have 40% or so to hit at point blank range. - [+] only reduce hit% after first cell? - [+] increase change of player ko with yumi - [+] tranq dart and nanodart should be rodshaped. - [+] genericise purification - [+] F_PURIFIESTO v0 = newobject - [+] add toadstool -> shiitake - [+] posion potion -> water - [+] acid potion -> water - [+] rum -> water - [+] DONT make the original object type known now - [+] higher level purify food lets you select a cell! - [+] need f_targettedspell v1 & v2 to specify power. - [+] druid should get to pick one of 3 spells (from each available level) upon levelup, not anything! - [+] implement f_levspellschoolfromx - [+] TEST! - [+] implement secondary weapon swap with 'x' - [+] initial press: unweild curwep. if successful, mark as secondayr. - [+] subsequent presses: find secondary wep (or fail). remember cur. weild secondary. if successful, remove scondary flag and mark old cur wep as secondary - [+] when you move an object, it loses secondary flag. - [+] BUG: I had TWO regions with rtype->id == RG_CAVE!!! - [+] have added debug code - [+] think this is fixed - need to remove created regions when i regenerate a map. - [+] should be able to sell gems to jewelery store - [+] sm_sellitems - [+] shopsell() - [+] shop has f_cansellobclass xxx, val[0] = pct of full price you can sell for. normally 50% but 75% for gems. - [+] allow COUNT - modified askobjectwithflag ? - [+] OR add an extra *sellshop option to doaskobject ?? - [+] if this is set, only allow selection of objects which match the shop's f_shopsell flags - [+] ie. replace wantflags[] - [+] when passing this, don't also pass wantflag args!!! - [+] rename shopsell flag to f_shopacceptsflag - [+] accept F_NONE in shopacceptsflag - [+] make shopdonate use the same code - [+] make donating to shops lower their prices ? - [+] for each 100 value you donate, reduce prices by 1% - [+] ie. donate 1000 worth, reduce by 10% = 1 level of speech skill - [+] change shopsell to use applyshoppricemod - [+] applyshoppricemod needs a new arg - up or down - [+] check code in objects.c for naming too! listobs()
2012-02-07 13:50:17 +11:00
enum SHOPRETURN shopsell(lifeform_t *lf, object_t *vm, int starty, char *toptext, int *npurchased);
- [+] shops on a level should make loud sounds every few turns. (onein3) - [+] inifniite loop in ?k - [+] add to balaclava: equipconfer -> f_anonymous - [+] can't get banned from shops with this! - [+] when randomly increasing skills, don't select maxed ones. - [+] remove warning for movement while bleeding - [+] injuries heal too fast. - [+] bug: The sound of sounds of fighting awakens you! - [+] shouldnt be able to rest while airborne! - [+] make drunkenness give more damage resistance! - [+] "unseen" etc not working on tombstone - [+] bug: merloch getting infinite attacks!! - [+] add "a xxx moves out of view" - [+] why are wizards starting with 2 cold spells? fixed. was getting an extra one for gaining a "new" spell skill. - [+] slowwalking shoudl reduce move volume, not eliminate it. - [+] i noticed a secret iron door forom 6 cells away! - [+] make SC_SEARCH not autopassable on natural 20. - [+] armour can have a SIZE - [+] remove some occurences of "f_noarmouron" for sz_large, sz_small creatures - [+] in "canwear", implement size check. if lf's body size isn't sz_human then armour must have "f_armoursize -> sz_xxx" - [+] exception for ears / eyes - [+] f_multisize - [+] f_armoursize sz_xxx - [+] can only wear armour whih is your size - [+] in io.c, show armour size - [+] assign f_multisize to objects - [+] when adding objects - [+] cope with asking for "large armour" etc - [+] adding to a lf's pack? make sure armour is the correct fit - [+] somewhere else? 25% chance of different size. if so, 50/50 as to which way. - [+] in getobname, show "huge armour" etc - [+] medium ("halfling size pair of gauntlets"), human ("gauntlets"), or large ("huge gauntlets") - [+] high sewing/metalwork skills will let you modify armour for custom fit. - [+] half the hit points of the object - [+] implement a multi-level menu system for shops - [+] text on shop exit ("thank you for your business!") - [+] shops: - [+] only let you donate if you can takeoff / unweild it first. - [+] replace "vending machine" with shop - [+] make shops/buildings their own category - [+] this will let us say 'random shop' - [+] enable stealing from shops - [+] armour - [+] book - [+] weapon - [+] general - [+] potion - [+] hardware - [+] food - [+] jeweller - [+] always show full name for shop items - [+] temple of xxx - - [+] actions - [+] donate - [+] detect curse - [+] bless(costs more if equipped) - [+] absolve sins - [+] special depending on who the temple is to? - [+] temple of'xxx' - assign in addobject() - [+] extend CHA/SPEECH mods to all shops - [+] disable stacking for shop objects - [+] hotel/inn - [+] actions - [+] pay to rest (for 100 turns) - [+] if you do this, call startresting() before exitting shop - [+] and set some kind of flag so monsters will never approach - [+] maybe: f_resting_in_hotel - [+] and so that they will never wake up you up through sound - [+] remove these when you stop resting. - [+] force you to stop resting once your time expires - [+] buy food/drink - [+] weapon shop: - [+] donate weapons - [+] armour shop: - [+] buy armour - [+] donate armour (so that monsters don't pick it up!) * [+] firearm reload messages - [+] don't take f_throwmissile into account when using telekinesis - [+] ranged weapons: auto reload after firing. - [+] done.
2011-11-16 11:57:21 +11:00