Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local heMagazineAmmo
- -- if (settings.startup["rampant-arsenal-"]) then
- -- end
- = makeAmmo({
- name = "he-magazine",
- icon = "__RampantArsenal__/graphics/icons/he-rounds-magazine.png",
- order = "a[basic-clips]-c[he-rounds-magazine]",
- magSize = 10,
- stackSize = 200,
- ammoType = {
- category = "bullet",
- -- target_type = "position",
- -- clamp_position = true,
- action =
- {
- type = "direct",
- action_delivery =
- {
- {
- type = "instant",
- source_effects =
- {
- type = "create-explosion",
- entity_name = "explosion-gunshot"
- }
- },
- {
- type = "instant",
- target_effects = {
- {
- type = "create-explosion",
- entity_name = "explosion"
- },
- {
- type = "damage",
- damage = {amount = 2, type = "physical"}
- },
- {
- type = "damage",
- damage = {amount = 22, type = "explosion"}
- },
- {
- type = "push-back",
- distance = 0.5,
- show_in_tooltip = true
- }
- }
- }
- -- {
- -- type = "projectile",
- -- projectile = makeShotgunProjectile({
- -- name = "heMagazine",
- -- directionOnly = false,
- -- tint = {r=0.4,g=0,b=0.8,a=0.8},
- -- hitAtPosition = true,
- -- action = {
- -- type = "direct",
- -- action_delivery =
- -- {
- -- type = "instant",
- -- target_effects = {
- -- {
- -- type = "create-explosion",
- -- entity_name = "explosion"
- -- },
- -- {
- -- type = "damage",
- -- damage = {amount = 2, type = "physical"}
- -- },
- -- {
- -- type = "damage",
- -- damage = {amount = 20, type = "explosion"}
- -- },
- -- {
- -- type = "push-back",
- -- distance = 0.5,
- -- show_in_tooltip = true
- -- }
- -- }
- -- }
- -- }
- -- }),
- -- starting_speed = 1,
- -- direction_deviation = 0.1,
- -- range_deviation = 0.1,
- -- max_range = 40
- -- }
- }
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement