Garry's Mod Leaks
[LEAK] Zeros RetroMiner (Mining Script)
Submitted by ForTrueGmod, 15-02-2020, 07:44 PM, Thread ID: 158773
Thread Closed
https://www.gmodstore.com/market/view/5119
This is the ultimate mining and refining script! In this Addon you can harvest, melt and sell many ores!
You can harvest diffrent Ores with a pickaxe or a mineshaft and collect them in a gravelcrate. The collected Ores are then put in a RockCrusher were they get crushed and moved to a Refinery via a conveyorbelt were they get refined and collected in a Refiner Crate.
The refined ore and coal can now be filled in the Melter were it gets melted in to Bars. The finished Bars get now put in a fancy Storagecrate and sold by a Metal Buyer.
Public Pipeline Tutorial
English Tutorial by Ratatouille: Click Here
French Tutorial by KADABRA: Click Here
Please take the time to review my script. Negative and Positive critic is welcome.
If you found some bugs please use the gmod ticket system to contact me.
Thanks.
[b]Dev[/b]
// Here are some Hooks you can use for Custom Code
// Called when the player hits a ore entity
hook.Add("zrmine_OnPickaxeHit", "zrmine_OnPickaxeHit_Vrondakis", function(ply, HitPos, OreEntity)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Mining_pickaxe"].XP, " ", true)
end
end)
// Call when a Mine Entrance produces ore entities
// *Note* The player variable can be nil if the MineEntrance is public
hook.Add("zrmine_OnOreMined", "zrmine_OnOreMined_Vrondakis", function(ply, MineEntity)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Mining_mine"].XP, " ", true)
end
end)
// Called when Ore gets Crushed
hook.Add("zrmine_OnOreCrushing", "zrmine_OnOreCrushing_Vrondakis", function(ply, Crusher, OreType, OreAmount)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Crushing"].XP, " ", true)
end
end)
// Called when a refinery refines ore
hook.Add("zrmine_OnOreRefined", "zrmine_OnOreRefined_Vrondakis", function(ply, Refinery, OreType, OreAmount)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Refining"].XP, " ", true)
end
end)
// Called when the player produces metal bars
hook.Add("zrmine_OnMelting", "zrmine_OnMelting_Vrondakis", function(ply, Melter, BarType)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Melting"].XP, " ", true)
end
end)
// Called when the player produces metal bars
hook.Add("zrmine_OnSelling", "zrmine_OnMelting_Vrondakis", function(ply, BuyerNPC, SellProfit, MetalBarsTable, Earnings)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Selling"].XP, " ", true)
end
end)
This is the ultimate mining and refining script! In this Addon you can harvest, melt and sell many ores!
You can harvest diffrent Ores with a pickaxe or a mineshaft and collect them in a gravelcrate. The collected Ores are then put in a RockCrusher were they get crushed and moved to a Refinery via a conveyorbelt were they get refined and collected in a Refiner Crate.
The refined ore and coal can now be filled in the Melter were it gets melted in to Bars. The finished Bars get now put in a fancy Storagecrate and sold by a Metal Buyer.
Public Pipeline Tutorial
English Tutorial by Ratatouille: Click Here
French Tutorial by KADABRA: Click Here
- Take the job "Retro Miner"
- Choose your Pickaxe and smash it on the rocks
- Purchase a RockCrusher, a Conveyorbelt and a Refinery
- Put a Refiner - Crate under the Refinery
- Purchase a Melter and fill it with Coal and refined ore
- Wait for your ore to be molten in to Ingots and put them in a Storage Crate
- Go to a Metal Buyer and sell your StorageCrate
Please take the time to review my script. Negative and Positive critic is welcome.
If you found some bugs please use the gmod ticket system to contact me.
Thanks.
[b]Dev[/b]
// Here are some Hooks you can use for Custom Code
// Called when the player hits a ore entity
hook.Add("zrmine_OnPickaxeHit", "zrmine_OnPickaxeHit_Vrondakis", function(ply, HitPos, OreEntity)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Mining_pickaxe"].XP, " ", true)
end
end)
// Call when a Mine Entrance produces ore entities
// *Note* The player variable can be nil if the MineEntrance is public
hook.Add("zrmine_OnOreMined", "zrmine_OnOreMined_Vrondakis", function(ply, MineEntity)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Mining_mine"].XP, " ", true)
end
end)
// Called when Ore gets Crushed
hook.Add("zrmine_OnOreCrushing", "zrmine_OnOreCrushing_Vrondakis", function(ply, Crusher, OreType, OreAmount)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Crushing"].XP, " ", true)
end
end)
// Called when a refinery refines ore
hook.Add("zrmine_OnOreRefined", "zrmine_OnOreRefined_Vrondakis", function(ply, Refinery, OreType, OreAmount)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Refining"].XP, " ", true)
end
end)
// Called when the player produces metal bars
hook.Add("zrmine_OnMelting", "zrmine_OnMelting_Vrondakis", function(ply, Melter, BarType)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Melting"].XP, " ", true)
end
end)
// Called when the player produces metal bars
hook.Add("zrmine_OnSelling", "zrmine_OnMelting_Vrondakis", function(ply, BuyerNPC, SellProfit, MetalBarsTable, Earnings)
if IsValid(ply) and (LevelSystemConfiguration or manolis) then
ply:addXP(zrmine.config.Vrondakis["Selling"].XP, " ", true)
end
end)
The link in this hidden content has been reported as down 0 times this month.
1 times in total
RE: [LEAK] Zeros RetroMiner (Mining Script)
16-02-2020, 10:50 AM
#2 Thank You!
I really appreciate you,
Your helpful, giving ways,
And how your generous heart
Your unselfishness displays.
I thank you for your kindness,
I will not soon forget;
Youre one of the nicest people
I have ever met.
I really appreciate you,
Your helpful, giving ways,
And how your generous heart
Your unselfishness displays.
I thank you for your kindness,
I will not soon forget;
Youre one of the nicest people
I have ever met.
Users browsing this thread: 1 Guest(s)