Identify game mode

Place to get help with not working mods / modding interface.
Post Reply
User avatar
yaim904
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Wed Nov 17, 2021 11:26 pm
Contact:

Identify game mode

Post by yaim904 »

Is there a way to identify the game mode of a player, Sandbox or pvp?

What I seek is to identify in which scenario it is required to investigate some technology.
Solo entiendo español, pero si tu también lo entiendes, escríbeme
:D
Everything i write in English is translated by google.
:D

Pi-C
Smart Inserter
Smart Inserter
Posts: 1652
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Identify game mode

Post by Pi-C »

That info is available from script.level. That's what it looks like in a new game with the vanilla scenario:
gvv.png
gvv.png (342.3 KiB) Viewed 739 times
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

User avatar
yaim904
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Wed Nov 17, 2021 11:26 pm
Contact:

Re: Identify game mode

Post by yaim904 »

Pi-C wrote:
Sun May 22, 2022 6:54 pm
That's what I was looking for.
Thanks a lot!!
Solo entiendo español, pero si tu también lo entiendes, escríbeme
:D
Everything i write in English is translated by google.
:D

Post Reply

Return to “Modding help”