Search found 4 matches

by YoxFox
Thu Jun 24, 2021 1:54 pm
Forum: Modding help
Topic: Unique items in MP
Replies: 8
Views: 2877

Re: Unique items in MP

Thx @eradicator and @Silari for your help.
by YoxFox
Thu Jun 24, 2021 1:48 pm
Forum: Modding help
Topic: Unique items in MP
Replies: 8
Views: 2877

Re: Unique items in MP

After some investigation and atemptions, I've created the solution for my request:


-- INIT

global = global or {}

script.on_init(function()
mod_init()
end)

function mod_init()
global.money_machines = {}
end

-- END INIT

function on_money_machine_placed(event)

local entity = event.created ...
by YoxFox
Sun Jun 20, 2021 1:25 pm
Forum: Modding help
Topic: Unique items in MP
Replies: 8
Views: 2877

Re: Unique items in MP


If you're new to factorio modding I'd start with that. It's much easier as there's a pre-made "market" structure that can handle trading. That way you get a better feeling of how modding works and implementing the fiat thing should be easier and cleaner if you do it with some experience.


Yes, I ...
by YoxFox
Sun Jun 20, 2021 12:24 pm
Forum: Modding help
Topic: Unique items in MP
Replies: 8
Views: 2877

Unique items in MP

Hello guys!

I'm trying to implement my idea in special economic mode and I met an issue when I decided to create unique items based on player name or index.

Idea: I want to create fiat money for MP. This is just an item (a coin) which can be created by one player only. And every player in MP can ...

Go to advanced search