Configuration and connection of logic systems in mods

Discussion about Mods for Prison Architect

Moderator: NBJeff

Romillet
level0
Posts: 3
Joined: Sat Mar 14, 2015 2:06 pm

Configuration and connection of logic systems in mods

Postby Romillet » Sun Apr 19, 2015 11:24 am

Hi,

I am trying to do a mod that deploys logic circuits and door timers, but am not able to configure the Door timer, nor the logic circuit:

From a saved game, I saw that Time4 must be set to true to activate door timer at 4.

So I tried the following without success (the property is not applied nor saved):

Code: Select all

local door_timer = Object.Spawn("DoorTimer", x, y)
Object.SetProperty(door_timer, "Time4", true)
door_timer.Time2 = true


It is the same with logic circuits, when I want to set "Operation".

1) Is it possible in the current alpha 31 ? If yes, how can I do this ?

2) How can I connect the DoorTimer to a LogicCircuit ? Must I set a property, or is there a method available ?


Thanks in advance
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: Configuration and connection of logic systems in mods

Postby aubergine18 » Sun Jul 12, 2015 10:53 pm

Did you ever find a way to achieve this? I'm trying something similar on alpha34 and not having much luck :/
Romillet
level0
Posts: 3
Joined: Sat Mar 14, 2015 2:06 pm

Re: Configuration and connection of logic systems in mods

Postby Romillet » Sun Jul 12, 2015 11:14 pm

No, I don't. But I have not tried with newest alpha.

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 1 guest