Search found 1794 matches

by elDiablo
Tue Aug 16, 2016 8:45 am
Forum: Modding
Topic: Tooltips, multi language support, and lua
Replies: 5
Views: 458

Re: Tooltips, multi language support, and lua

this.Tooltip={"tooltip_usedby",this.HomeUID,"W","tooltip_firedetectsend",entity.Category,"X",entity.Type,"Y","tooltip_at",string.sub(tostring(_),0,4),"Z","tooltip_toarea"} is wrong. You need it in the order this.Tooltip...
by elDiablo
Mon Aug 15, 2016 2:12 pm
Forum: Modding
Topic: Tooltips, multi language support, and lua
Replies: 5
Views: 458

Re: Tooltips, multi language support, and lua

For various reasons (how we hold the tooltip, how we do marker replacements, etc.) this doesn't work at the moment. So I've changed the behaviour of this.Tooltip for scripted objects (and objectTable.Tooltip in the general case of WorldObjects). In the next update you'll be able to do the following ...
by elDiablo
Thu Aug 11, 2016 5:19 pm
Forum: Modding
Topic: Can I change prisoners security based on reform grade?
Replies: 21
Views: 4043

Re: Can I change prisoners security based on reform grade?

For an update, have a look at this bug . tl;dr, I've added World.NumPrisoners and World.Capacity, both of which return tables listing the current prisoners in each category, and the number of cells in each security zone. Both tables link names to numbers. Be warned that the numbers will probably be ...
by elDiablo
Tue Aug 09, 2016 8:42 am
Forum: General
Topic: What do i do with the Prison Architect Product key?
Replies: 1
Views: 264

Re: What do i do with the Prison Architect Product key?

Just need to register the game on our site. Hope that helps!
by elDiablo
Tue Aug 09, 2016 8:41 am
Forum: General
Topic: XB1 preview program. How do I know if I have AD&N DLC
Replies: 4
Views: 315

Re: XB1 preview program. How do I know if I have AD&N DLC

Hey there, Double 11 are doing the console versions of Prison Architect, and are handling all of the support for them. You should check out there forums for help with the DLC, but a quick search comes up with this thread: D11_NatJun 28 Hi @Michael250698, Do you have it in Game Preview? If so, assumi...
by elDiablo
Tue Aug 09, 2016 8:34 am
Forum: Modding
Topic: Can I change prisoners security based on reform grade?
Replies: 21
Views: 4043

Re: Can I change prisoners security based on reform grade?

Just a quick reply to a few things in this post: - In regards to the reoffending rate, it is calculated per prisoner using a pretty complex formula based on their experience in the prison and a lot more. I could add a (read-only) value to the prisoner's table to return this calculated value if peopl...
by elDiablo
Wed Aug 03, 2016 12:36 pm
Forum: Modding
Topic: Can I change prisoners security based on reform grade?
Replies: 21
Views: 4043

Re: Can I change prisoners security based on reform grade?

The ModSchema on the devwiki has some, but needs updating (I'll try and do it next week). The Modding page itself is also good with links to guides and things.
by elDiablo
Wed Aug 03, 2016 9:30 am
Forum: Modding
Topic: Can I change prisoners security based on reform grade?
Replies: 21
Views: 4043

Re: Can I change prisoners security based on reform grade?

You should be able to just use World.TimeIndex. This should be available to both scripted WorldObjects and World scripts.
by elDiablo
Mon Aug 01, 2016 10:09 am
Forum: General
Topic: About the "Name in Game" version
Replies: 3
Views: 329

Re: About the "Name in Game" version

You need to go here and follow the instruction.
by elDiablo
Mon Aug 01, 2016 10:07 am
Forum: Modding
Topic: Modifying Needs Error -- Help Needed
Replies: 5
Views: 502

Re: Modifying Needs Error -- Help Needed

We do "funky" stuff with metatables in Lua for access our variables. Can you give me an example of the loop you're using so I can reproduce the problem locally and get a fix?
by elDiablo
Mon Aug 01, 2016 10:06 am
Forum: Modding
Topic: Mod Not Updating [Solved]
Replies: 3
Views: 392

Re: Mod Not Updating -- Error Included

Glad it's sorted! And even more glad it wasn't my code that caused the problem!
by elDiablo
Fri Jul 29, 2016 8:52 am
Forum: Modding
Topic: Mod Not Updating [Solved]
Replies: 3
Views: 392

Re: Mod Not Updating -- Error Included

Hey there, So these errors are a bit weird. The first is a "Busy" error, and the second is a "Not Logged Into Steam" error. It might be that the Steam servers were a bit wonky when you tried to upload the error. Could you please try once more (now it's a day later). If you still ...
by elDiablo
Wed Jul 06, 2016 5:30 pm
Forum: Modding
Topic: where are workshop prisons stored?
Replies: 2
Views: 288

Re: where are workshop prisons stored?

Workshop prisons are downloaded each time you press the "Play" button in the Prison Sharing menu. If you want to edit the files, or play the levels, you just need to load a Workshop Prison and then save it locally.
by elDiablo
Fri Mar 11, 2016 12:40 pm
Forum: Modding
Topic: Need info about listeners for new Buttons
Replies: 9
Views: 772

Re: Need info about listeners for new Buttons

Putting a topic up on the Mantis bug tracker (for example, "add an input slider to the mod interface list" or something), and getting people to vote for it is probably the best way. Though I can't confirm if/when stuff will be added, I'm afraid.
by elDiablo
Mon Mar 07, 2016 9:33 am
Forum: Modding
Topic: Need info about listeners for new Buttons
Replies: 9
Views: 772

Re: Need info about listeners for new Buttons

Currently none, but it gives us the ability to expand in future if people want other things.

Go to advanced search