Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Magazine sizes based on the weapon might be awkward, but shouldn't be 
functionally impossible. 
Automatically purchasing a magazine is simple enough, but shouldn't be a 
default option.

Original comment by chummer5isalive on 9 Feb 2015 at 1:02

  • Changed state: Accepted
  • Added labels: Type-Enhancement, Priority-Low
  • Removed labels: Type-Defect, Priority-Medium

from chummer5a.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
1) I dont mean a automatically bought clip but one to represent the one inside 
the weapon.
(Possibly even Listed in the weapon view itself.)

On my char i have 2 Spare clips plus the amonition in the gun.
The clips with adding the amonition to them look great on the sheet. (I note 
the used amonition with a pencil next to the clip.)
But i havent found a way to represent the amonition inside the weapon itself.
So my suggestion would be adding a "Spare Clip" as node to the weapon addons, 
or a posibility to add a free spare to the sheet to show this efect.
(Maybe a option to add a "free" item is easyer than adding a node, but i havent 
read too much of your source-code)

2) This idea came to mee because clips have to be bought for a specific weapon 
(or i misread the rules there), and if the clip is for a Ares-Pretator, the 
question for the amonition type could be avoided. (plus when in the menu i cant 
see the max amonition on the weapons page, so i have to go back and check, or 
find the site in the rulebook.)
Again i dont know your code but finding the weapon entry, which hase the same 
name as atached to the clip, and querry the <range> and <ammo> tag seems 
possible. (altough just schoring it seems easyer for ammo, since some elements 
[at least bow] have other haracters beside the number inside the entry.)

PS: Yes i know these are the type of changes which for bystanders seem not to 
hard but are not part of the critical functionality and tend to be much harder 
to realice in the code, than it seems at the first glance. (sometimes leading 
to unexpected changes in the underlying class hrachy)

Original comment by [email protected] on 9 Feb 2015 at 5:56

from chummer5a.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
So what you're looking for with the first option is an ammunition count for the 
currently loaded magazine for a printed character sheet? That's easy enough, 
sure. 

Second bit I'm not really following along with; if you add a spare clip as an 
accessory to the gun it already does what I think you want it to do. 

Original comment by chummer5isalive on 6 Mar 2015 at 6:47

from chummer5a.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
The second is a simple helper. (Something someone not loking to deep into the 
implementation thinks as simple, but for wat i can see guess from the programs 
flow might be complex)

I ass a Clip to my gear: (Current workflow)
1) Add Gear
2) Select spare clip
3) "Select Item" (e.G, Ares Predator V)
4) On the new Clip i add Plugins (Amunition)
5) Select a Amo type (Eg, Gel Rounds)
6) Weapon Category

So wenn i first used the programm i thought it might be helpfull when point 6 
is determined by the clip, and a hint to the clip size might also be helpfull. 
(i could add 100 Gel Blades to a Ares spare Clip)
So it is meant as a shortcut to add amunition to a clip, by reducing the 
options and if only one is left automatically choose that one. (e.G. a Ares 
always uses amonition for heavy pistols, there is no sense to add Blades to its 
clip)

Original comment by [email protected] on 6 Mar 2015 at 4:56

from chummer5a.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Oh, now I getcha. Okay, that should be simple enough. Parent nodes are a little 
finicky to work with, but it shouldn't be too difficult. 

Todo:
Spare Clip accessories attached to weapons should automatically inherit the 
magazine size and category from the parent weapon.
When adding ammunition to a Spare Clip, prevent ammunition from exceeding the 
magazine size. Ie, if purchasedamount > clip, purchasedamount = clip.
Add optional rules to prevent either of these from taking effect, but should be 
enabled by default.

Original comment by chummer5isalive on 10 Mar 2015 at 11:49

from chummer5a.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.