removed badwords
This commit is contained in:
@@ -65,7 +65,7 @@ baseitem:new("WICKED_FLAME", {
|
||||
|
||||
|
||||
|
||||
baseitem:new("NIMDICK", {
|
||||
baseitem:new("NIMDOC", {
|
||||
displayname = "NIMDOC",
|
||||
texture = "nimdoc.png",
|
||||
stack = 1,
|
||||
|
2
main.lua
2
main.lua
@@ -55,12 +55,10 @@ function love.load(cmdlineargs)
|
||||
end
|
||||
|
||||
local funny_crash_messages = {
|
||||
"FUCK! I thought I fixed this.",
|
||||
"Something broke.",
|
||||
"Oops.",
|
||||
"REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.",
|
||||
"Sorry m8",
|
||||
"Josh fucked up again!",
|
||||
"We need to hire some better programmers.",
|
||||
"Don't be scared. This screen just means everything's wrong.",
|
||||
"My bad, i'll fix this soon.",
|
||||
|
@@ -514,7 +514,6 @@ return function(args)
|
||||
local screen_half_width = love.graphics.getWidth()/2
|
||||
local screen_half_height = love.graphics.getHeight()/2
|
||||
|
||||
--? this names suck but im fucking high right now
|
||||
local screen_grid_num_width = (love.graphics.getWidth()/2) / gridsize
|
||||
local screen_grid_num_height = (love.graphics.getHeight()/2) / gridsize
|
||||
|
||||
|
@@ -45,7 +45,7 @@ function itemstack:update(dt)
|
||||
if dist <= 35 then
|
||||
if self.playermagnet > 0 then
|
||||
local attraction = 1.2
|
||||
-- holy fuck
|
||||
-- holy crap
|
||||
self.velocity = self.velocity + ((entity.position-self.position):unitvec() * math.max(((35-dist)^attraction), 0.1))
|
||||
|
||||
if dist <= 12 then
|
||||
|
@@ -182,7 +182,6 @@ function physicalentity:update(dt)
|
||||
end
|
||||
|
||||
if self.touching_lava then
|
||||
-- TODO: fix this shit fucktard
|
||||
self.health = self.health - (dt*10)
|
||||
if self:isA("Humanoid") then
|
||||
self:addStatusEffect("BURNING", 1)
|
||||
|
@@ -453,7 +453,7 @@ function player:draw()
|
||||
local accessory_2 = self.gui.equipment.items[4][1]
|
||||
local accessory_3 = self.gui.equipment.items[6][1]
|
||||
|
||||
-- TODO: make this shit reflect the lighting of the equipment
|
||||
-- TODO: make this reflect the lighting of the equipment
|
||||
|
||||
-- draw helmet
|
||||
local scale = 1
|
||||
@@ -498,7 +498,7 @@ function player:draw()
|
||||
-- TODO: draw armor and accessories on top of the player
|
||||
|
||||
-- draw the currently using item
|
||||
--! this needs to be fixed up, the animations are wonky as fuck.
|
||||
--! this needs to be fixed up, the animations are wonky.
|
||||
if self.animation.running then
|
||||
local data = self.animation.item
|
||||
local item = data.id
|
||||
@@ -553,7 +553,7 @@ function player:draw()
|
||||
local angleFixed = (startang + currentDist) * self.direction
|
||||
local adjusted = math.rad( ((-self.direction)*data.defaultRotation)+angleFixed)
|
||||
|
||||
-- radius, no fucking clue why I have to flip this as well
|
||||
-- radius, no clue why I have to flip this as well
|
||||
local r = 8 * self.direction
|
||||
-- shift item by dx and dy for swivel effect
|
||||
local dx, dy = math.cos(math.rad(angleFixed))*r, math.sin(math.rad(angleFixed))*r
|
||||
|
@@ -2,7 +2,6 @@
|
||||
-- @author Joshua O'Leary
|
||||
-- @copyright 2019 Conarium Software
|
||||
|
||||
-- TODO: this whole script is fucky, fix it
|
||||
|
||||
local uiscale = 1
|
||||
|
||||
@@ -16,13 +15,11 @@ local tiles = require("src.tiles")
|
||||
local inventory = require("src.inventory")
|
||||
local guiutil = require("src.guiutil")
|
||||
|
||||
-- why the fuck is this an object?
|
||||
-- this is actually a question i continually ask.
|
||||
-- TODO: seriously sit down and figure out a monolithic playergui
|
||||
--! not now though, focus on finishing up the game
|
||||
local system = jutils.object:subclass("PlayerGui")
|
||||
|
||||
-- ! ghetto retard hack because im lazy
|
||||
local the_player = nil
|
||||
|
||||
local menu = jui.scene:new({}, {
|
||||
@@ -64,7 +61,6 @@ local menu = jui.scene:new({}, {
|
||||
})
|
||||
})
|
||||
|
||||
-- why the fuck is it instanced?
|
||||
-- should just make it a monolith module
|
||||
function system:init(player)
|
||||
self.open = false
|
||||
|
@@ -9,15 +9,16 @@ local config = require("config")
|
||||
local tiles = require("src.tiles")
|
||||
local backgrounds = require("src.backgrounds")
|
||||
|
||||
-- what the fuck:
|
||||
-- I wanted to make this a C module, but I never got around to it.
|
||||
-- I'm sure that'd be a fun project
|
||||
|
||||
-- extremely informative and interesting reading:
|
||||
-- https://luajit.org/ext_ffi.html
|
||||
-- why the fuck:
|
||||
-- make lighting faster LAWL
|
||||
|
||||
local ffi = require("ffi")
|
||||
|
||||
ffi.cdef[[
|
||||
typedef double grid[33][33]; // why the actual SHIT is this 33?
|
||||
typedef double grid[33][33]; // TODO: fix this instead of being lazy hack
|
||||
]]
|
||||
|
||||
require("love.timer")
|
||||
|
Reference in New Issue
Block a user