Start
Items
Every inventory item FX Pocketbook uses, what it does, and how to add the items on VORP and RSG.
The item names below are the shipped defaults. Each one is a setting, so you can point it at an item of your own.
#Notebooks
| Item | Label | Usable | What it does |
|---|---|---|---|
pocketbook |
Pocketbook | Yes | Opens the book in the default colour, Config.UI.DefaultTheme (9, Sand) |
pocketbook_standard |
Pocketbook (Standart) | Yes | Opens the book in colour 0 |
pocketbook_dark |
Pocketbook (Dark) | Yes | Colour 1 |
pocketbook_pink |
Pocketbook (Pink) | Yes | Colour 2 |
pocketbook_white |
Pocketbook (White) | Yes | Colour 3 |
pocketbook_red |
Pocketbook (Red) | Yes | Colour 4 |
pocketbook_darkred |
Pocketbook (Dark Red) | Yes | Colour 5 |
pocketbook_forest |
Pocketbook (Forest) | Yes | Colour 6 |
pocketbook_midnight |
Pocketbook (Midnight) | Yes | Colour 7 |
pocketbook_tobacco |
Pocketbook (Tobacco) | Yes | Colour 8 |
pocketbook_sand |
Pocketbook (Sand) | Yes | Colour 9 |
pocketbook_mustard |
Pocketbook (Mustard) | Yes | Colour 10 |
pocketbook_slate |
Pocketbook (Slate) | Yes | Colour 11 |
pocketbook_olive |
Pocketbook (Olive) | Yes | Colour 12 |
pocketbook_teal |
Pocketbook (Teal) | Yes | Colour 13 |
pocketbook_plum |
Pocketbook (Plum) | Yes | Colour 14 |
How the colour items work (Config.Access.ThemeItems):
- Using a colour item opens the book in that colour and saves the colour to the character, so F1 opens it in that colour afterwards. If the book is already open, it changes colour at once.
- The notebook in the character's hand has the same colour.
- The colour picker in Settings shows only the colours the player carries. Saving a colour the player has no notebook of is refused.
Config.Access.ThemeItems = falseturns this off: every colour is free in Settings and onlypocketbookis a notebook item.
With Config.Access.RequireItem = true (the default) the player needs at least one notebook item, plain or coloured, to open the book with F1 or the command. While the book is open the server checks again every Config.Access.CheckInterval ms.
#Signal
| Item | Label | Usable | Setting | What it does |
|---|---|---|---|---|
pocketbook_relay |
Sinyal Diregi | Yes | Config.Signal.Pole.Item |
Shows a placement preview of a relay pole. Placed, it gives signal within Range (50 m). The item is used up. A character can have 3 poles |
See Signal.
The back radio items (pocketbook_radio, pocketbook_radio_battery, pocketbook_radio_charger) now belong to the separate fx-radio resource. They kept their names, so servers that already have them keep their radios and charged batteries. fx-radio adds them and their images; see the fx-radio documentation.
#Telegraph, letters and mail birds
| Item | Label | Usable | Setting | What it does |
|---|---|---|---|---|
pocketbook_paper |
Bos Kagit | Yes | Config.Telegram.Papers.BlankItem |
A blank sheet. Using it opens the letter writing page of the Telegraph. Tearing a page out of Notes also writes on one |
pocketbook_letter |
Mektup | Yes | Config.Telegram.Papers.LetterItem |
A written letter that can be handed over. Using it opens the letters page to read it. The item holds only the letter's id |
pocketbook_stamp |
Pul | No | Config.Telegram.Postage.Item |
A postage stamp. Used up per dispatch only when Config.Telegram.Postage.Enabled = true (off by default). Post office workshops make 5 stamps from 1 blank paper |
birdwhistle |
Kus Dudugu | Yes | Config.Telegram.Birds.WhistleItem |
Calls your mail bird |
birdseed |
Kus Yemi | No | Config.Telegram.Birds.FeedItem |
Used up when you feed a bird from the app |
birdmedicine |
Kus Ilaci | No | Config.Telegram.Birds.HealItem |
Used up when you heal a bird from the app |
birdtraining |
Kus Egitim Seti | No | Config.Telegram.Birds.TrainItem |
Used up when you train a bird from the app |
#Phonograph
| Item | Label | Usable | Setting | What it does |
|---|---|---|---|---|
pocketbook_phonograph |
Fonograf | Yes | Config.Music.Item |
Shows a placement preview of a phonograph (p_phonograph01x). A character can have 2 |
#Items that are not added for you
| Item | Used by | Notes |
|---|---|---|
poker_chip |
Card Table, Config.Kart.ChipItem |
Only when Config.Kart.Currency = 'chips'. Add it to your inventory yourself |
| Your own item names | Catalogue, Config.Katalog.Items[].item |
The products are your server's items. A product whose item does not exist cannot be delivered |
| Your own item names | Official Ledger, Config.MDT.Doctor.Medicines[].item |
Given to the patient only when GiveItems = true. nil by default |
| Your own item names | Telegraph workshop, Config.Telegram.Operations.Workshop.Recipes |
The shipped recipe turns pocketbook_paper into pocketbook_stamp |
#VORP
The 25 items above (notebooks, relay pole, telegraph and birds, phonograph) are in sql/install.sql and are added to VORP's items table on start. Restart once after they are added. See Installation.
The VORP limit values in the file:
| Item | Limit |
|---|---|
pocketbook, each colour, pocketbook_phonograph, birdwhistle |
1 |
pocketbook_relay |
3 |
birdmedicine, birdtraining |
10 |
pocketbook_paper, pocketbook_letter, birdseed |
20 |
pocketbook_stamp |
50 |
#RSG
Nothing is added on RSG. Add the items to rsg-core/shared/items.lua.
These lines are shipped in the README:
luapocketbook_standard = { name = 'pocketbook_standard', label = 'Pocketbook (Standart)', weight = 100, type = 'item', image = 'pocketbook_standard.png', unique = true, useable = true, shouldClose = true, description = 'Standart renkte cep defteri.' },
-- repeat the line for pocketbook_dark, _pink, _white, _red, _darkred, _forest, _midnight, _tobacco, _sand, _mustard, _slate, _olive, _teal and _plum
-- (image = 'pocketbook_<colour>.png')
Add the other items the same way: pocketbook, pocketbook_relay, pocketbook_phonograph, pocketbook_paper, pocketbook_letter, pocketbook_stamp, birdwhistle, birdseed, birdmedicine, birdtraining. Set useable = true for the items marked usable in the tables above and false for the others. Choose the weights for your server. For example:
luapocketbook = { name = 'pocketbook', label = 'Pocketbook', weight = 100, type = 'item', image = 'pocketbook.png', unique = true, useable = true, shouldClose = true, description = 'Cep defteri. Kullanarak veya F1 ile acin.' },
pocketbook_stamp = { name = 'pocketbook_stamp', label = 'Pul', weight = 10, type = 'item', image = 'pocketbook_stamp.png', unique = false, useable = false, shouldClose = false, description = 'Posta gonderimi icin pul.' },
#Images
setup/inventoryitem-images/ has a PNG for every item above: pocketbook, the 15 colours, the relay pole, the phonograph, the papers, the stamp and the bird items. Copy them to vorp_inventory/html/img/items/ or rsg-inventory/html/images/.
#Where players get them
The notebook store in config_shops.lua sells the 15 coloured notebooks. While fx-radio is started it also sells the back radio, the battery and the charger. Every item can be sold back to the same store for Config.SellPercent (50%) of its price. See Store.