Difference between pages "TRADEDEMAND" and "ATTACH"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRADEDEMAND'''
+
'''ATTACH'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
The normal price of a product is set by what the buyer is willing to pay.
+
ATTACH
  
Quite often the price decreases by repeated deliveries. In some case, the
+
ATTACH
  
original higher price will reset after the game reboots. In other cases,
+
ATTACH
  
there may be a repeatable chain of trades, that must be done in the right
 
  
order for prices to stay high. And in other cases it depends on the mood of
 
  
the trader.
+
Builder's working on their trial vnum do not need to learn this command, yet.
  
Different buyers may offer a better or worse price for the same product. The
 
  
only way to find out the best price is by trial and error. And, in addition,
 
  
players might be willing to pay more for certain products than the Traders.
+
Usage: attach mob {trigger vnum/name} {mob name} [location]
  
The best example of this mechanism are the famous Cos Potions. These are
+
attach obj {trigger vnum/name} {obj name} [location]
  
rather special potions, which are either more effective than similar potions
+
attach room {trigger vnum/name} {room vnum} [location]
  
available, or do things that potions not normally do (like for instance a full
 
  
mana or move restore).
 
  
Each potion/pill has 6 ingredients. If you collect those and give them to the
+
Attach lets you attach a script to one instance of a mob/obj/room, for
  
right Healer on Cos, they will reward you with 8 TP's plus one potion, which
+
testing or other purposes. The command only attaches the script once,
  
you in can use yourself - or trade to someone else. There are lots of people
+
and will not last over a reboot (or crash).
  
in need on the islands, who all will pay well for these potions.
 
  
There is also a travelling salesman, from which you can buy the same potions.
 
  
But he might rip you off. His potions will cost you 20-30 TP each, while the
+
The 'location' is what number in the triggerlist the trigger will assume.
  
current 'normal' price for most potions among the Trader mobs lies around
+
It is important to first attach a trigger to test before you manually add it
  
8-10 TP.
+
through oedit/medit/redit.  
  
However, players might want to buy the potions too, rather than collecting the
 
  
ingredients themself, they might pay you a bit more than you can get from
 
  
the Trader mobs, perhaps 15 TP. So would this be a good deal? Maybe, but
+
Examples:
  
trading is not always as simple. Trading a potion to a certain mob might be
+
attach room 14500 14520 - Attaches room trigger 14500 to room 14520.
  
only the first step in a chain. Once a confidence has been established, they
+
attach mob 1332 santa  - Attaches mob trigger 1332 to mob 1308 (santa).
  
might ask you to provide other products - things that potentially will yield a  
+
attach obj 1480 sword  - Attaches obj trigger 1480 to a sword.
  
much higher profit. This doesn't always happen, however, so again a bit of
 
  
experimenting is necessary.
 
  
 
+
See also: [[DETACH]]  [[TRIG-ATTACH]]  [[TRIG-DETACH]]  [[OLC]]  [[TRIGEDIT]]  [[TSTAT]]  [[STAT]]  [[ROOMFLAGS]]
See also: [[TRADE]]  [[CURRENCY]]  [[TRADEVALUE]]  [[TRADESUPPLY]]  [[TRADEPOINTS]]  [[TRADETIPS]]
 

Latest revision as of 16:10, 13 July 2017

ATTACH

ATTACH

ATTACH

ATTACH


Builder's working on their trial vnum do not need to learn this command, yet.


Usage: attach mob {trigger vnum/name} {mob name} [location]

attach obj {trigger vnum/name} {obj name} [location]

attach room {trigger vnum/name} {room vnum} [location]


Attach lets you attach a script to one instance of a mob/obj/room, for

testing or other purposes. The command only attaches the script once,

and will not last over a reboot (or crash).


The 'location' is what number in the triggerlist the trigger will assume.

It is important to first attach a trigger to test before you manually add it

through oedit/medit/redit.


Examples:

attach room 14500 14520 - Attaches room trigger 14500 to room 14520.

attach mob 1332 santa - Attaches mob trigger 1332 to mob 1308 (santa).

attach obj 1480 sword - Attaches obj trigger 1480 to a sword.


See also: DETACH TRIG-ATTACH TRIG-DETACH OLC TRIGEDIT TSTAT STAT ROOMFLAGS