Search found 1825 matches

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

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: 656

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: 5579

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: 335

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: 472

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: 5579

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: 5579

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: 5579

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
Wed Aug 03, 2016 9:21 am
Forum: Community Members
Topic: Devs want cricket? Then first fix the basketball
Replies: 7
Views: 182

Re: Devs want cricket? Then first fix the basketball

Just saw this post too! To keep others in the loop, here's my reply: Hey there, Thanks for the email. The problem you encountered was probably due to the (boolean) AnimateVelocity property. There was a bug in the lua integration that was mis-casting bools to strings (or the other way around, I forge...
by elDiablo
Mon Aug 01, 2016 10:09 am
Forum: General
Topic: About the "Name in Game" version
Replies: 3
Views: 408

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: 746

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: 512

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
Mon Aug 01, 2016 10:02 am
Forum: Community Members
Topic: Devs want cricket? Then first fix the basketball
Replies: 7
Views: 182

Re: Devs want cricket? Then first fix the basketball

Hey murgh, I tried to email you via the forums, but guess it didn't work. There was a mantis bug that was incorrectly casting some types of variables (assuming a bool when it was a string - oops!), which might have affected this. Glad you found the problem and it wasn't something nasty that needed a...
by elDiablo
Fri Jul 29, 2016 8:52 am
Forum: Modding
Topic: Mod Not Updating [Solved]
Replies: 3
Views: 512

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: 454

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.

Go to advanced search