Difference between pages "TRADEVALUE" and "TRIGEDIT-ROOM-CAST"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRADEVALUE'''
+
'''TRIGEDIT-ROOM-CAST'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
The value of a product can be increased by upgrading. To take a simple
+
Activated if a spell is cast in the room.
  
example: any kind of grain can be ground to flour in a mill. Grapes and olives
 
  
can also be pressed into wine and oil.
 
  
Even though you can trade the basic products in a few places, naturally the
+
Numeric Arg : percent chance this trigger will be activated.
  
flour, wine and oil will fetch a better price than the grain, grapes and
+
Argument    : not used.
  
olives.
 
  
Flour, wine and oil, together with various other things, can also be
 
  
ingredients of things like potions, pastries or snacks, which in turn will  
+
Used with return 0 will cause the spell not to be cast.
  
fetch a price that is substantially higher than the separate products combined
 
  
* IF you find the right buyer.
 
  
See also: [[TRADESUPPLY]]  [[TRADEDEMAND]]  [[TRADEPOINTS]]  [[TRADETIPS]]
+
Variables:  
  
See also: [[CURRENCY]]  [[PROFESSIONS]]
+
%actor%    - the caster of the spell
 +
 
 +
%spell%    - the number of the spell
 +
 
 +
%spellname% - the name of the spell
 +
 
 +
%vict%      - the target (mob/player) of the spell, if any.
 +
 
 +
%obj%      - the target (object) of the spell, if any.
 +
 
 +
 
 +
 
 +
Example: {cRTSTAT 57{c0

Latest revision as of 12:47, 14 July 2017

TRIGEDIT-ROOM-CAST

Activated if a spell is cast in the room.


Numeric Arg : percent chance this trigger will be activated.

Argument  : not used.


Used with return 0 will cause the spell not to be cast.


Variables:

%actor% - the caster of the spell

%spell% - the number of the spell

%spellname% - the name of the spell

%vict% - the target (mob/player) of the spell, if any.

%obj% - the target (object) of the spell, if any.


Example: {cRTSTAT 57{c0