SA-Humvee


Adds two humvee's one with machine gun turret the other has a rocket launcher and a machine gun, it's an upgraded variant and requires the previous one to craft. 2.0 K2 Coming soon!, IR3 is no more!

Content
a month ago
1.1 - 2.0
2.92K
Transportation Combat

b Recipe

2 months ago

Both Humvees are available for crafting at the start of a new game without learning the technology.
I compared the code with other tech mods and "enabled = false" should be in the parameter "normal = { }". I'm not a coder and don't know how to call these things.
Example:
{
type = "recipe",
name = "sa-humvee",
normal = {
energy_required = 15,
enabled = false,
ingredients = {
{"advanced-circuit", 15},
{"car", 1},
{"engine-unit", 8},
{"iron-plate", 20},
{"steel-plate", 10},
{"electric-engine-unit", 25}
},
result = "sa-humvee"
}
}
Or (this is how it is if only one type of recipe is used.)
{
type = "recipe",
name = "sa-humvee",
energy_required = 15,
enabled = false,
ingredients = {
{"advanced-circuit", 15},
{"car", 1},
{"engine-unit", 8},
{"iron-plate", 20},
{"steel-plate", 10},
{"electric-engine-unit", 25}
},
result = "sa-humvee"
}
Sorry for my English.

2 months ago

Thanks for pointing this out, I thought I had done this already as I had the same issue with another mod, I will fix it!

2 months ago

{
type = "recipe",
name = "sa-humvee",
enabled = false,
energy_required = 15,
normal =
{
ingredients =
{
{"advanced-circuit", 15},
{"car", 1},
{"engine-unit", 8},
{"iron-plate", 20},
{"steel-plate", 10},
{"electric-engine-unit", 25}
},
result = "sa-humvee"
}
},
{
type = "recipe",
name = "sa-humveer",
enabled = false,
energy_required = 15,
normal =
{
ingredients =
{
{"rocket-launcher", 1},
{"sa-humvee", 1}
},
result = "sa-humveer"
}
},

This is how they are coded atm I can see enabled = "false" so unsure why this is doing it?

2 months ago

ok so the enabled = false is in the wrong location and should be in the normal table I fixed it

New response