Garry's Mod

Garry's Mod

37 ratings
Simple Cooking V2 (Script/DarkRP)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
555.138 KB
27 Oct, 2017 @ 12:24pm
27 Oct, 2017 @ 11:22pm
2 Change Notes ( view )

Subscribe to download
Simple Cooking V2 (Script/DarkRP)

Description
Addon on cooking food!

In addon includes:
Pie
Plate
Dough
+100 hp
15sec. to cooking
Ingredient for cooking the pie

Commentator: The Bread of Garlic

Also you need to do this to your stove entity :

function ENT:Initialize()
self:SetModel( "models/props_c17/furnitureStove001a.mdl" )
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
self:SetPos(self:GetPos() + Vector(0,0,25))
local phys = self:GetPhysicsObject()
if (phys:IsValid()) then
phys:Wake()
end
self.isBaking = false
self.finishBakeTime = 0
end

So it does not spawn underground on some maps
7 Comments
masajinobe  [author] 25 Aug, 2018 @ 4:14am 
It would be more correct to say that I "moved" it from CodeBlue, so that people could immediately open the ready-made version and rewrite it for themselves. I didn't do anything.:steammocking:
masajinobe  [author] 25 Aug, 2018 @ 4:07am 
I did this addon as "Open Sourse" so that it can be placed on the DarkRP server
masajinobe  [author] 25 Aug, 2018 @ 4:03am 
Unfortunately, I moved away from addons, and GMOD. Hardly ever I will fix it. Thank you, if I could pin this comment, I would do it so that everyone can fix it.
Corn Bread 24 Aug, 2018 @ 4:10pm 
Also you need to do this to your stove entity :

function ENT:Initialize()
self:SetModel( "models/props_c17/furnitureStove001a.mdl" )
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
self:SetPos(self:GetPos() + Vector(0,0,25))
local phys = self:GetPhysicsObject()
if (phys:IsValid()) then
phys:Wake()
end
self.isBaking = false
self.finishBakeTime = 0
end

So it does not spawn underground on some maps
Corn Bread 24 Aug, 2018 @ 3:36pm 
It is a good learning code to create other addons with like materials processing for spacebuild players, or an ammo reloading system for you DarkRP players. Codeblue gave the code to people to LEARN GLua easily..
masajinobe  [author] 2 Nov, 2017 @ 12:21am 
Yes I will not hide but still someone will like it))
le beige 1 Nov, 2017 @ 3:54pm 
#codeblue