devolution

Author Topic: <-- Archived --> (Items Concept)  (Read 76246 times)

0 Members and 2 Guests are viewing this topic.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
<-- Archived --> (Items Concept)
« on: June 15, 2013, 04:39:56 AM »
Archived, we've been using JSON for a while and added more fields/slots/types to Items.

Items Concept Design:

Items will be created in XML, field default values will be filled be the class.


Item might fail without these 2 fields:

ID: Name of the Item.
- Game is likely to crash if not specified.
- xml field:
Code: [Select]
id="Dummy Item"
Icon: Path to file with picture of an item.
- We might use default here as well after we find some pics for slots that would make good defaults. For now, this is the second field item will fail without!
- xml field:
Code: [Select]
icon="content/items/dummy_item.png"

Optional fields:

Description:
- Defaults to an empty string.
- xml field:
Code: [Select]
desc="This is a dummy item for testing!"
Changing stats:
- Defaults to an empty dict.
- xml field:
Code: [Select]
<mod charisma = '20' />
Changing minimum/maximum of stats:
- Defaults to an empty dict.
- xml field:
Code: [Select]
<min charisma = '20' />- xml field:
Code: [Select]
<max charisma = '20' />
Add/Remove traits:
- Defaults to an empty list.
- xml field:
Code: [Select]
<addtrait name = 'Sexy Air' />- xml field:
Code: [Select]
<removetrait name = 'Retarded' />
Add/Remove skills:
- Defaults to an empty list.
- xml field:
Code: [Select]
<addskill name = 'Water 2' />- xml field:
Code: [Select]
<removeskill name = 'Fire 1' />
Add/Remove Effects:
- Not implemented yet but the fields will be there. Effects in the future would be sick, poisoned, exhausted, pregnant and so on).
- Defaults to an empty list.
- xml field:
Code: [Select]
<addeffect name = 'Dizzy' />- xml field:
Code: [Select]
<removeeffect name = 'Poisoned' />
Locations: Locations where the item can be acquired.
- At least one must be specified or item will be registered but will never appear in the game. The only reason to leave this out is if item can only be awarded by a script.
- This defaults to an empty list.
- xml field:
Code: [Select]
<location name = 'Item Shop' />
List of traits that favor/reject the item: (for auto-equipping or shopping).
- Defaults to an empty list.
- xml field:
Code: [Select]
<goodtrait name = 'Strong' />- xml field:
Code: [Select]
<badtrait name = 'Meek' />
Price:
- Defaults to 0.
- xml field:
Code: [Select]
price = '10'
Cmax: Will only apply mod effects if girl's stat is below this value. The idea is not to allow cheap, peace of crap consumables to max out a girl completely. (Now also works for misc items!) Cmax will not work with ctemp and if ctemp is active, your cmax setting will be overridden.
- Defaults to 'false' and game will enforce 'false' if item is not consumable or misc.
- xml field:
Code: [Select]
cmax = '75'
Sex: (Male/Female/Uni)  This should prevent Male hero from being able to equip a dress or a strap-on.
- This will defaults to Unisex
- xml field:
Code: [Select]
sex = 'female'
Infinite: (If item is infinite in the shop)
- Defaults to false.
- xml field:
Code: [Select]
infinite = 'false'
Chance:(To acquire an item at any Location)
- Defaults to 50 if not specified.
- xml field:
Code: [Select]
chance = '100'
Badness: (Chance of girl buying this item)
- Defaults to 0 if not specified. (Meaning 100% chance)
- xml field:
Code: [Select]
badness = '10'
EqChance: (Chance of girl AutoEquipping the item)
- Defaults to Badness if not specified.
- xml field:
Code: [Select]
eqchance = '22'

Slots:
- Slot default to consumable!
- xml field:
Code: [Select]
slot = 'consumable'
List of slots:

Code: [Select]
            self.eqslots = dict(head = false,
                                      body = false,
                                      cape = false,
                                      feet = false,
                                      amulet = false,
                                      wrist = false,
                                      weapon = false,
                                      smallweapon = false,
                                      ring0 = false,
                                      ring1 = false,
                                      ring2 = false,
                                      belt0 = false,
                                      belt1 = false,
                                      belt2 = false,
                                      misc = false,
                                      consumable = None
                                      )

The 'key' (or the first word in each pair) is the slot you can choose for the item.

Options (possible but not limited to):
Weapon Slot - Sword, Dagger, Mace.
Concealed Weapon Slot - Dagger.
Three Ring Slots - Rings
Amulet Slot - Amulet
Head Slot - Helmet, Tiara, Crown
Body Slot - Armor/Clothing
Cape Slot - Cape
Feet Slot - Boots
Consumable Slot - Consumable


Consumable also opens a number of optional fields (maybe more in the future):

Block: Will have no effect if used again before x number of days. (Actually cannot be used again the way I programmed it for now)
- Defaults to false.
- xml field:
Code: [Select]
cblock = '5'
Temp: If item effect is temporary (in days).
- Defaults to false
- xml field:
Code: [Select]
ctemp = '3'
Effect: Determines the 'area' of items effect.
- Defaults to false (Meaning single girl)
- xml field:
Code: [Select]
ceffect = 'brothelfree'Effect areas:
- 'false' = Single Girl
- 'brothelgirls' = All Girls in the same brothel with the girl.
- 'brothelfree' = All free girls in the brothel.
- 'brothelslave' = All slavegirls in the brothel.
- 'allslaves' = All slave girls that you own.
- 'allfree' = All free girls working for you.
- 'allgirls' = All girls in your service.


Three Belt Slots - To take items into battle or use them in events/quests.

Note: Battle Items are always consumables and will be created by dev team because we'll have to design them twice (Once in the game and another in BE). After a decent release version of a game is completed, I will figure out Battle Engine in depth and create a bridge to items as well as adding more synergy between BE and the game. For now I would prefer to focus on game code and content using just basic BE features.

Misc Slot:
- Will allow to equip one item that will give it's full effect after an item has been worn for a number of days. Basically the moment item is equipped, game starts to count days until a specified number is reached, than applies it's effect permanently and can be passed to a different girl or disappears.

Misc slot adds new fields:

Temp: How long until item takes affect in days.
- Will default to 10 days.
- xml field:
Code: [Select]
mtemp = '3'
Destruct: (Optional) Does the item disappear after it takes effect.
- Defaults to false.
- xml field:
Code: [Select]
mdestruct = 'true'
Reusable: Blocks the item to be used for the same girl twice.
- Defaults to false.
- xml field:
Code: [Select]
mreusable = 'false'

Book for example might be set to:
Reusable: false
Destruct : false
Temp = 10

Pet might be set to:
Reusable: true
Destruct : false
Temp = 1



Type: Important in some places like weapons since different weapons might make different sounds and have different damage modifiers in battle engine.
- Default to it's slot.
- xml field:
Code: [Select]
type = 'Sword'

   - Items should be stackable.
   - Shops should have locked inventories to be restocked once in 'x' number of days.



Notes:


- Only consumables (without temp effect) and misc items should award traits because if girl already has a trait that is awarded to her by a wearable item (ring or cape for example), trait will disappear as item is taken off. This is obviously possible to avoid but that would require a bit of coding and I see little benefit.


----------------------------------------------------------------------------
Still to design:
 We still need to decide if we want shops to look like they do in Alkion/OtherWorld or give them a retro look like in old FF games.
 Another issue is how to pass items to girls from player, do it in the girl profile screen or construct something like WM.

TODO:
- Items that can only be equipped by one character.
- Change upkeep, exp, gold.
- For cmax you should probably use condition <= rather than just <.
« Last Edit: April 24, 2016, 07:57:33 AM by Xela »
Like what we're doing?

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Items Concept
« Reply #1 on: June 15, 2013, 05:17:36 AM »
- Reserved -
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #2 on: June 16, 2013, 08:00:18 AM »
Capes are done. I almost run out of good icons for them, and they are hard to find, so I doubt there will be many capes even in the final release.
Next slot is body.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Items Concept
« Reply #3 on: June 16, 2013, 08:16:00 AM »
Capes are done. I almost run out of good icons for them, and they are hard to find, so I doubt there will be many capes even in the final release.
Next slot is body.

Sweet :)
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #4 on: June 16, 2013, 12:42:05 PM »
I have troubles with porting Chainmail Bikini from WM since I'm unable to find a decent icon for it. At all.
If anyone has enough time and desire to create it, I would appreciate it.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Items Concept
« Reply #5 on: June 16, 2013, 01:10:19 PM »
I have troubles with porting Chainmail Bikini from WM since I'm unable to find a decent icon for it. At all.
If anyone has enough time and desire to create it, I would appreciate it.

As an option:

Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #6 on: June 17, 2013, 03:00:28 PM »
Yeah, that's simple enough. Thanks.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #7 on: June 18, 2013, 04:43:24 AM »
I wonder if good/bad trait list will have any effect on items that cannot be bought in shops.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Items Concept
« Reply #8 on: June 18, 2013, 07:18:55 AM »
I wonder if good/bad trait list will have any effect on items that cannot be bought in shops.

Nope, wouldn't make much sense, stock is determined by a shop, not girls themselves.
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #9 on: June 18, 2013, 07:33:27 AM »
To put it more precisely, I thought about effect on autoequipment system. I have no idea what algorithm it will have.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Items Concept
« Reply #10 on: June 18, 2013, 07:46:24 AM »
To put it more precisely, I thought about effect on autoequipment system. I have no idea what algorithm it will have.

Neither do I, not at this point of development, but if you/anyone else wants to come up with a concept, be my guest :)
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #11 on: June 18, 2013, 02:27:40 PM »
Hm, very well.
1. Occupation. There is no need for big weapons and armors for strippers or whores. So they won't equip or even buy them. We don't have a separate type for clothing like in wm, but armor obviously mostly give bonuses to battle stats rather than charisma or refinement.
At the same time battle occupations could buy both dress and armor, but they definitely shouldn't wear them at work, unless they have uber stats maybe.

Also, maybe girls should somewhat aim for items rising skills needed for their current job, but not all the time. Like intelligence for matrona, etc.

2. Warriors/Wizards/Rogues. Characters with Magic Gift/Magic Talent, especially with high values of magic and mp thanks to training, should aim for mage armors, ie without magic penalties. Not sure about rogue characters with high agility, especially Assassins and Kleptomaniacs (aka thiefs), maybe they should avoid items with agility penalties.
Only warriors mostly shouldn't care about anything except for defence/attack.

3. Item cost, equip chance and good/bad trait list. Not sure about the formula yet, but defenitely not 100% chance of equipping if item has good trait and vice versa like with shopping. If priorities of two items about the same level, then the item with more high cost has to be equipped.

Offline Xela

  • Global Moderator
  • *****
  • Posts: 6893
  • "It's like hunting cows"
Re: Items Concept
« Reply #12 on: June 18, 2013, 03:24:28 PM »
I figure first would have to be girls immediate needs like health/mp potions. Second temporary stuff that increases relevant stats, only then actual equipment.

Also we do not have those classes, right now we have Warrior, Prostitute, ServiceGirl and Stripper.

We do have a type field in items that can specify Armor/Dress.

If you want to write a concept, you'll have to be more specific btw :)
Like what we're doing?

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #13 on: June 19, 2013, 06:13:57 AM »
Also we do not have those classes, right now we have Warrior, Prostitute, ServiceGirl and Stripper.
Jeez, it doesn't matter at all. Like I said, for example, characters with Magic Gift/Magic Talent with higher magic and mp than attack and defence should be considered as mages from the viewpoint of autoequipment system. Don't tell me it's impossible to do this simple check for the game engine without additional classes.
If you want, I could use type field, like "marmor" for mage armors.

We do have a type field in items that can specify Armor/Dress.
Ok, I'll use type field for it then.

you'll have to be more specific
Well, my creativity is busy with items now  :)
We need about 50-60 items in total for three remaining slots, after that I'll try to come up with more specific algorithm.

Offline DarkTl

  • Hero Member
  • *****
  • Posts: 4737
Re: Items Concept
« Reply #14 on: June 20, 2013, 05:58:05 AM »
We will need another backgroung for equipment doll, or simply do not delete yellow background when items are equipped. Many of items are hard to see on a black background.