Search found 3 matches

by Stroomschok
Wed Apr 06, 2016 4:53 pm
Forum: Modding help
Topic: Something weird with circuit network prereq for turrets tech
Replies: 2
Views: 805

Something weird with circuit network prereq for turrets tech

In the tech tree, Circuit Networks is a prerequisite for Turrets.

However, if you look in the code this is is not mentioned.
type = "technology",
name = "turrets",
icon = "__base__/graphics/technology/turrets.png",
effects =
{
{
type = "unlock-recipe",
recipe = "gun-turret"
}
},
unit ...
by Stroomschok
Sun Apr 03, 2016 8:12 pm
Forum: Modding help
Topic: Noob lua question: accessing research times, how?
Replies: 2
Views: 1099

Re: Noob lua question: accessing research times, how?

Ah, thanks! I think I tried something like that, but must have made a small typo or something, and went in circles after that trying to make it work.
by Stroomschok
Sun Apr 03, 2016 1:30 am
Forum: Modding help
Topic: Noob lua question: accessing research times, how?
Replies: 2
Views: 1099

Noob lua question: accessing research times, how?

This is a basic programming question, if i look for example at the game's files:

type = "technology",
name = "bullet-damage-1",
icon = "__base__/graphics/technology/bullet-damage.png",
effects =
{
{
type = "ammo-damage",
ammo_category = "bullet",
modifier = "0.1"
}
},
prerequisites ...

Go to advanced search