[solved] Making tiles minable...

Place to get help with not working mods / modding interface.
Post Reply
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

[solved] Making tiles minable...

Post by aubergine18 »

Is there a way to make tiles minable? I'm making some wooden flooring and I can place it successfully, but once placed I cannot mine it. Here's my proto (some audio and image stuff removed for sake of brevity):

Code: Select all

{
  ageing = 0.0001,
  can_be_part_of_blueprint = true,
  collision_mask = {
    "ground-tile",
    "water-tile"
  },
  decorative_removal_probability = 0.8,
  layer = 61,
  map_color = {
    b = 0,
    g = 0.25098039,
    r = 0.50196078
  },
  minable = {
    hardness = 0.2,
    mining_particle = "wooden-particle",
    mining_time = 0.25,
    results = {
      {
        amount_max = 1,
        amount_min = 0,
        name = "wood",
        probability = 1,
        type = "item"
      }
    }
  },
  mined_sound = {
-- audio stuff
  },
  name = "wood-floor",
  needs_correction = false,
  type = "tile",
  variants = {
-- bunch of image stuff
  },
  vehicle_friction_modifier = 1.2,
  walking_sound = {
-- bunch of audio stuff
  },
  walking_speed_modifier = 1.2
}
Last edited by aubergine18 on Thu Oct 06, 2016 11:24 pm, edited 1 time in total.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Making tiles minable...

Post by Ranakastrasz »

Uhm, you do realize you can mine tiles already, and you just have to hold another tile in your hand to do so, right?

Also, plenty of mods for Wooden tiles already.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Making tiles minable...

Post by aubergine18 »

> you just have to hold another tile in your hand

Doh. Forgot about that.

> Also, plenty of mods for Wooden tiles already.

Other than `More_Floors' and `Wood Floor` mod, do any other mods add wood floors? I wasn't particularly keen on the design of the floor panelling in the two listed mods.
Last edited by aubergine18 on Thu Oct 06, 2016 11:27 pm, edited 1 time in total.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [solved] Making tiles minable...

Post by Ranakastrasz »

https://mods.factorio.com/mods/Simdezimon/wood-floor
https://mods.factorio.com/mods/TheSAguy/Bio_Industries

Might be others. Not sure.
I don't like the More tiles mod, since it requires you to make a new item, which you can't change back. The rest of the tiles are kinda nice tho.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

Post Reply

Return to “Modding help”