RPG System

This mod adds an RPG system to the game (XP and level-up)
14 days ago
0.16 - 0.17
Owner: MFerrari
Source: N/A
Homepage: https://Discord: MFerrari#6561
License: MIT
Created: 1 year, 5 months ago
Latest Version: 0.17.25 (14 days ago)
Factorio version: 0.16 - 0.17
Downloaded: 24007 times

This mod adds an RPG system to the game, which distributes XP (experience) among the players of a team. Compatible with other mods and scenarios that create new forces.

XP is obtained by the TEAM that:
- Kill an alien, directly by a player or by tower defense (based on the amount of its health)
- By researched technologies (based on the cost of technology X enemy evolution factor)
- By rockets launched

By players that
- Mine trees or rocks

- Only online players receive XP
- XP Death penalties
- Player Tag editor included

Mod Settings: XP Table Construction: 100 levels
Configure the XP required to pass the first level, and the Multiplier.
Formula for the next levels = Prior XP * (Multiplier - Level * 0,005)
So if the first XP level is 600 and the multiplier is 1.6, the second level will be 954, the third 1513...

It is possible to integrate with other mods, using interface "RPG", which allows to give or take XP from players or teams. For compatibility with other mods that also alters character status, this mod raises 2 events that may help. See control.lua for details.

You can use these commands in the gui Tag editor:
{list} = list all players current level and time played
{reset-points} = (only form admins) - reconstruct XP table and reset all habilities to zero, so players can spent all points again
{reset-all} = (only form admins) - reconstruct XP table and reset everything to zero, as a new game
{listXPTable} = print the first levels of the XP Table