home » builders » builder's lessons » coin resets
Coin resets
When you make a mobile an unique mobile they will not load up with coins automatically. You need to give the mobile its coins in resets. Sometimes you simply may choose for a mobile to not have coins. You will also need to make sure it is IC for the mobile to carry coins. For instance most animals in the game will not carry coins, as coin does not have any meaning to them.
M 1 4020 2 4025; city guard
C 1 COIN_SILVER 2 6
Above is an example of the coins resets for an unique guard mobile. T he coin reset has to go directly after the mobs resets. It is similar to giving it an object for its inventory. Let us break this command up:
C - The C denotes that this is a coin reset.
1 - This next number is not used by the game but must be here for the area to load.
COIN_SILVER - This is the type of coin. Refer to the table below to see the coin type.
2 6 - These next two numbers (are the dice used to work out the amount of coins. In this case its 2d6 of this coin type.
If you wished you could have the mobile load up different coin types.
COIN_COPPER | 0 |
COIN_SILVER | 1 |
COIN_ELECTRUM | 2 |
COIN_GOLD | 3 |
COIN_PLATINUM | 4 |