The Lab
The Lab Telegram · RedEM:RP

RedM telegram script for RedEM:RP

On RedEM:RP, The Lab Telegram takes the character, money and job from redem_roleplay and keeps the stationery and letters in redemrp_inventory 2.x. Each letter carries its content in the item metadata, so it stays readable when it changes hands.

Features

  • Seven post offices preset, each with an NPC and blip

  • Typed, hand-drawn and stamp signatures

  • Paper and letters usable from redemrp_inventory

  • Postage paid with the RedEM:RP character's money

  • Notifications through redem_roleplay

  • English and French included

Compatibility

Dependencies

redem_roleplay, redemrp_inventory 2.x and oxmysql. The framework is detected on start, or forced with Config.Framework = 'redemrp'.

Items

Copy the four entries of installation/redemrp-items.lua into Config.Items of redemrp_inventory/config.lua, and the images into redemrp_inventory/html/items/. Keep type = "item_standard": item_letter belongs to the pigeon carrier.

Money and characters

Postage and stationery are paid with the character's money. A character is identified by its identifier and character id, so each character keeps its own mail and contacts.

Jobs and stamps

The jobs list of a stamp in Config.Stamps is compared with the RedEM:RP character job.

Open adapter

The adapter is the open file bridge/server/frameworks/redemrp.lua. redemrp_inventory has no item ids, so letters and worn quills are told apart by a uid written in their metadata.

By framework

Install guide

Install The Lab Telegram on RedEM:RP

Install The Lab Telegram on RedEM:RP: import the SQL, add four items to redemrp_inventory, copy the images and ensure after redem_roleplay.

FAQ

Which redemrp_inventory version is needed?

Version 2.x. The adapter relies on its per-item metadata.

Why not use the item_letter type?

redemrp_inventory reserves it for the pigeon carrier. The telegram items must stay item_standard.

Can I change post office locations?

Yes. Edit Config.Zones: label, interaction coordinates, NPC model and position, and blip for each office.