Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:primitive:mission:primitivemissiondocnpc_bot [2016/11/13 13:44] – ↷ Page déplacée de en:primitivemissiondocnpc_bot à en:primitive:mission:primitivemissiondocnpc_bot zatalyz | en:primitive:mission:primitivemissiondocnpc_bot [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== npc_bot ====== | ||
| - | Function used in [[en: | ||
| - | |||
| - | ===== Properties ===== | ||
| - | |||
| - | **chat_parameters: | ||
| - | parameter(s). | ||
| - | |||
| - | * **shop:** a space separated list of shop category or alias as defined in the file [[ en: | ||
| - | |||
| - | * **-shop:** a space separated list of shop category or alias that are not offered in shop by default. | ||
| - | |||
| - | * **item:** a space separated list of shop item. Items are sheet name without the trailing ‘.item’. | ||
| - | |||
| - | * **-item:** a space separated list of shop item that are not offered in shop by default. | ||
| - | |||
| - | * **nitem:** a space separated list of named item. < | ||
| - | |||
| - | * **-mission** a space separated list of mission name that are not offered by default. | ||
| - | |||
| - | * **op** | ||
| - | |||
| - | Actually, the available optional parameters are: | ||
| - | |||
| - | * **op : guild_caretaker:< | ||
| - | |||
| - | * **op : player_caretaker :< | ||
| - | |||
| - | * **op : guild_rolemaster : < craft | harvest | fight | magic> ** The bot proposes guild charges to player | ||
| - | |||
| - | **NB: ** the negated keyword (-shop, -item and –mission) are more used in [[en: | ||
| - | |||
| - | **equipment: | ||
| - | |||
| - | * **RI** define weapon in right hand. The only one parameter is the weapon sheet name (including filename extension) or write “**none**” to remove the item in hand. | ||
| - | |||
| - | * **LI** define weapon in left hand. The only one parameter is the weapon sheet name (including filename extension) or write “**none**” to remove the item in hand. | ||
| - | |||
| - | * **HAT or IH** flag the presence of a hat. No parameter. | ||
| - | |||
| - | New detailed coloration | ||
| - | |||
| - | * **CHEAD** set the head color (used either for hair or for hat). Parameter is a list of randomly chosen color index space separated (e.g. 1 2 3 4). | ||
| - | |||
| - | * **CARMS** set the arms color. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | * **CHANDS** set the hands color. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | * **CBODY** set the body color. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | * **CLEGS** set the legs color. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | * **CFEETS** set the foots color. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | Old commands (keep for compatibility and usefulness) | ||
| - | |||
| - | * **UPPER or CU** set the head, arms, hands and body color at once. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | * **LOWER or CL** set the legs and foots color at once. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | * **HAIR or CH** set the hair(aka head) color. Parameter is a list of randomly chosen color index space separated. | ||
| - | |||
| - | ^ Number^ Colour ^ | ||
| - | | 0 | Red| | ||
| - | | 1 | Beige | | ||
| - | | 2 | Green | | ||
| - | | 3 | Cyan | | ||
| - | | 4 | Blue | | ||
| - | | 5 | Purple | | ||
| - | | 6 | White | | ||
| - | | 7 | Black | | ||
| - | |||
| - | **is_stuck** Flag to force the bot to spawn at the specified world location, even if the location is in a collision zone. This is used for placing merchant and other useful bot into closed shop for example. | ||
| - | |||
| - | **keywords** This is a set of [[en: | ||
| - | |||
| - | **level** This is the level of bot. The level is appended to the end of the sheet_server to obtain the server sheet name. | ||
| - | |||
| - | **sheet_client** This is the ‘visual’ sheet for the bot. All visual information are extracted from this sheet (e.g. sex, race, clothes…). | ||
| - | |||
| - | {{tag> | ||





