[Freeciv-Dev] Re: (PR#2521) effects patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=2521 >
On Fri, 27 Aug 2004, Jason Short wrote:
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=2521 >
>
> Vasco Alexandre da Silva Costa wrote:
>
> >>>Makes no functional difference for the present ruleset. But this way the
> >>>effects data is self-descriptive (what is more readable: "SS_Module",
> >>>"1", or "Space_Part", "3"?).
>
> > Yeah, but that way you can only have a space part per improvement.
> > However, I don't know if that is a very bad restriction or not.
>
> Really? You can't have two different effects with different "amounts"?
You can do that, but it is ill advised.
> Are these amounts or values cumulative? Is some code going to try to
> add them together if the ruleset makes a mistake? That could be bad.
Yes, they are cumulative. Like in Ben or Mike's effects patches. Which is
why doing this is bad. Different effects should have different effect
types, or some other way of diferentiation, e.g. in the requirements, but
not in the value. The value is not meant for this. It is only meant for
integer effect values. The values are summed per improvement effect type,
the default value being zero.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: (PR#2521) effects patch, (continued)
- [Freeciv-Dev] Re: (PR#2521) effects patch, Jason Short, 2004/08/25
- [Freeciv-Dev] Re: (PR#2521) effects patch, Jason Short, 2004/08/26
- [Freeciv-Dev] Re: (PR#2521) effects patch, Vasco Alexandre da Silva Costa, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Vasco Alexandre da Silva Costa, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Vasco Alexandre da Silva Costa, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Jason Short, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Jason Short, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Vasco Alexandre da Silva Costa, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Vasco Alexandre da Silva Costa, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch, Jason Short, 2004/08/27
- [Freeciv-Dev] Re: (PR#2521) effects patch,
Vasco Alexandre da Silva Costa <=
|
|