]> git.lizzy.rs Git - Crafter.git/blob - README.md
Make satiation set the satiation level to the food satiation
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.3.0-DEV
4
5 >Built using textures from <a href="https://forum.minetest.net/viewtopic.php?t=16407">Mineclone 2</a> 
6
7 ---
8
9 ## Be sure to install the clientside mod for this game mode: <a href="https://github.com/oilboi/crafter_client">Download here</a>
10
11
12
13
14 ## If you want to run this on a server you must add this to your server minetest.conf:
15
16 ```
17 enable_client_modding = true
18 csm_restriction_flags = 0
19 enable_mod_channels = true
20 ```
21
22
23
24 ## This game is in early alpha and uses a lot of experimental features in the engine
25
26 ---
27
28 # ALPHA STATE CHANGELOG
29
30 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
31
32 ## 0.04
33 > Endless Horizons Update
34
35 - Added in prototype for new mechanics built ontop of the engine
36 - Added cactus
37 - Make cactus hurt player when they touch it using touch_hurt group
38 - Added aether portals
39 - Make flying pigs drop 1-6 gold
40 - Make mobs use builtin minetest.throw_item function (custom)
41 - Double flying pigs sight radius
42 - Add hurt_inside group
43 - Add lava and fire to hurt_inside group
44 - Make mobs get damaged in fire and lava
45 - Add prototype mining lazer
46 - Add prototype gravity gun
47 - Added ice
48 - Make players get suffocated inside solid nodes
49 - Ice now breaks into water
50 - Ice spawns when snowing, replaces water under air
51 - Players sneaking hide nametag
52 - Updated main menu texture to have better brightness/contrast
53 - Turned mobs into API
54 - Added creepig
55 - Flying Pig now throws TNT at player
56 - Redid fishing mechanics
57 - Redid bows and arrows
58 - Added collision detection to mobs
59 - Add fall damage to mobs
60 - Make fishing work
61 - Ice now breaks into water
62 - Added FOV fade
63 - Add experience
64 - Added in shadow to heart statbar
65 - Added enchanting
66 - Add cake and cursed cake
67 - Prevent player from getting suffocated while teleporting
68 - Added in custom breath handling
69 - Made drowning slower
70 - Stopped infinite drowning death
71 - Merged drowning functions with new player functions
72 - Added in gerold55 bubble texture with countdown
73 - Swapped bubble direction
74 - Added in hunger
75 - Tuned hunger
76 - Added block breaking induced hunger exhaustion
77 - Fixed dead players collecting xp
78 - Overhauled hunger
79 - Optimized hunger health regen
80 - Overhauled farming and plants
81 - Fire now uses node timers to run even faster and prevent forest fires from becoming extreme
82 - Crops are now easier to grow
83 - Various farming improvements
84 - Optimized snow to the extreme
85 - Added in broken nether trees
86 - Added in melons and stem growth type plants
87 - Make saplings use node timers with catchup
88 - Made rain look even better
89 - Stop FOV fading from causing motion sickness
90 - Crops are now destroyed if not enough light
91 - Begin experimental treecapitator test
92 - Revert experimental treecapitator test and release experiment as mod
93 - Add in xp debug test
94 - Made minecarts work even "better"
95 - Added in clientside WAILA
96 - Fixed vignette having a streak of pixels across top of screen
97 - Add in 22i's MC mobs
98 - Overhaul mobs and make them use bone based head movement
99 - Add in group_attack setting for mobs
100 - Readded in creeper, phyg, and pig
101 - Fix a lot of things
102 - Fix a lot of deprecated calls
103 - Fixed stone hoes actually being made out of stone
104 - Add in better arrow hit sounds
105 - Overhauled arrows
106 - Added WAIH
107 - Overhaul mobs damage color modifier
108 - Make exploding mobs flash while charging
109 - Fix more deprecated calls
110 - Overhauled spawn command for mobs to use raycasting
111 - Overhaul mobs again
112 - Explosions now fling and hurt mobs
113 - Phygs now flap wings and do not take fall damage
114 - More deprecated call fixed for 3d noise in aether, void, and nether
115 - Fix WAIH crashing with tool that has no tooldef
116 - Fixed boat scaling
117 - Use gerold55's nice xp orb texture
118 - Updated readme.md
119 - Added nitro creeper and it spawns in the nether
120 - Added damage texture modifier
121 - Add in custom explodey mob color modifier
122 - Add in custom blink timer for explodey mobs
123 - Overhauled drowning
124 - Drowning now takes away a full heart
125 - Overhauled mob jumping
126 - Added in 22i's slime model
127 - Exploding mobs now instantly dissapear when detonated
128 - Added in gunpowder and tnt is now made from it
129 - Added in spider
130 - Improved mob jumping
131 - Added in string
132 - Added in fishing - Fishing poles are made from sticks and string
133 - Fixed raw porkchops not being edible
134 - Fixed xp level number scaling huge
135 - Added in cool spider sounds
136 - Snow and ice now melts when not snowing
137 - Implemented mob pathfinding
138 - Add in snowman with 22i's model redesigned by ElCeejo
139 - Add in better particles for eating and treecapitator
140 - Make player model's head pitch follow the player's look pitch
141 - Make music play during certain parts of the day/night
142 - Tweaked collision detection for mobs and make slime collision radius fit their size
143 - FINALLY fix client not initializing properly in the world - fixes clientmods not loading on first startup and randomly failing to load :D :D :D
144 - Add in safety net to client not initializing clientmods from game memory leak
145 - Made chickens spawn
146 - Tuned chicken
147 - Made experience drop on mob death based on their hp
148 ---
149
150
151 # IDEAS:
152
153 ## jetpack:
154 - equipped like armor
155 - uses XP
156
157
158 ## REDSTONE:
159 - breaker (mines whatever is in front of it)
160 - dispenser (shoots out first item in inventory, or shoots item into pipe)
161 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
162
163
164 ---
165
166
167
168 ## BUILDTEST:
169 - quarry
170 - filter
171 - siv
172 - mining lazer
173 - trains
174
175
176
177 ---
178
179
180 ## MOBS:
181
182 > #1 idea: weakness items, items that damage the mob more than diamond swords
183
184 ### snowman
185 - you can put a pumpkin on it's head to make it survive when it's not snowing out
186 - drops snowballs, coal, or carrot
187
188 ### sheep
189 - sheep can be punched to drop wool without damage
190 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
191
192
193 ### pig
194 - disable pig aggression
195 - make porkchop look nicer
196
197
198 ### ghosts
199 - make the default player model whited out
200 - ghosts can pass through any nodes
201 - ghosts fly around
202 - will follow you groaning about "diamonds", "need food", and "join us"
203 - they will fling you up in the air or punch you
204 - ghosts can drag you down into nodes and suffocate you
205 - spawn with cave sounds
206 - drop soul
207
208
209 ### node monster
210 - gets built out of nodes in the area
211 - will probabaly destroy you
212 - drops all nodes that it's made of when killed
213
214
215
216 ---
217
218
219 ## Game Mechanics:
220 - brewing
221 - enchanting/upgrading
222 - magic (wands, spells, etc)
223 - better combat ( sweep hit enemies, falling while hitting deals more damage )
224 - Enchanting food - gives buffs
225
226
227 ---
228
229
230 ## New Themes
231
232 ### mechanics (mechanical tools and machines)
233 - compressor (compresses nodes down)
234 - auto miner (digs whatever is in front of it)
235 - decompressor (opposite of compressor
236
237
238 ### automation 
239 - pipes
240 - pumps
241 - fluid  transfer
242 - fluid storage
243 - pipes should be able to move objects quickly
244
245
246 ### HALLOWEEN!
247 - Jack O'Lanterns
248 - corn and corn stalks
249 - decorations
250 - cobwebs
251 - costumes (somehow?)
252 - candy
253 - make grass and leaves orange during the month of October
254 - (Use a simple date check and override nodes)
255 - Gravestones
256 - Graveyards
257 - Candles
258 - candy apples
259 - Soul cake, make with cake and soul
260
261
262 ### Farming
263 - add fertilizer (pig drops bone randomly) 
264 - fertilizer is made out of bone - 
265 - fertilizer can make tall grass grow on regular grass
266 - bread - 3 bread in a row
267 - make sandwich with bread and cooked porkchop
268 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
269
270
271 ### Fishing
272 - enchanted fish
273
274
275 ---
276
277
278 ## New Items
279
280 > These don't seem to fit into any theme so list them all here
281
282 - rope and tnt arrows
283 - vehicles (car, powered minecarts, trains)
284 - hitscan flintlocks
285
286
287 ---
288
289
290 ## Ideas
291
292 > These ideas are all over the place but are good for future updates
293
294 - make pistons able to push and pull any node that does not use meta or inv
295 - make pistons able to push and pull deactivated pistons
296 - upgrade minecart physics even more 
297 - make torches abm that checks if player in area
298 - make furnace abm that checks if player in area
299 - make tnt hurt player
300 - rewrite minecart
301 - fix tool rightclick torch placement to replace buildable to nodes
302 - if placed last node put another stack into hand
303 - have falling node hurt player?
304 - add a function to set a velocity goal to entities and then implement it with all entities
305 - ^make a value if below then stop?
306 - colored chat messages
307 - check if everyone is in bed before going to next night
308 - also lock player in bed until they get out or daytime
309 - create a function to check if a node or group is below
310 - ^ set meta for player so that all mods can use it without calculating it
311 - ^ over and over again (saves cpu cycles)
312 - cars buildable in crafting table
313 - require gas pumps refine oil
314 - drive next to gas pump and car will fill with gas
315 - maybe have pump be rightclickable and then manually fill with gass using nozel
316 - minecart car train? - off rail use
317 - automatic step height for off rail use
318 - make cars follow each other
319 - oil which spawns underground in pools
320 - powered minecart car (engine car)
321 - chest minecart car
322 - player controls engine car
323 - make entities push against players
324
325
326 ---
327
328
329 ## Possible Applications
330
331 > causes object to magnetize towards player or other objects and stop after an inner radius
332 > use for better item magnet?
333 ```
334 if object:is_player() and object:get_player_name() ~= self.rider then
335       local player_pos = object:getpos()
336       pos.y = 0
337       player_pos.y = 0
338       
339       local currentvel = self.object:getvelocity()
340       local vel = vector.subtract(pos, player_pos)
341       vel = vector.normalize(vel)
342       local distance = vector.distance(pos,player_pos)
343       distance = (1-distance)*10
344       vel = vector.multiply(vel,distance)
345       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
346       
347       
348       if self.axis == "x"      then
349             self.object:add_velocity(vector.new(acceleration.x,0,0))
350       elseif self.axis == "z" then
351             self.object:add_velocity(vector.new(0,0,acceleration.z))
352       else
353             self.object:add_velocity(acceleration)
354       end
355       
356       - acceleration = vector.multiply(acceleration, -1)
357       - object:add_player_velocity(acceleration)
358 end
359 ```