]> git.lizzy.rs Git - Crafter.git/blob - README.md
Update todos
[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 ---
61
62
63 # IDEAS:
64
65
66
67 ## REDSTONE:
68 - breaker (mines whatever is in front of it)
69 - dispenser (shoots out first item in inventory, or shoots item into pipe)
70 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
71
72
73 ---
74
75
76
77 ## BUILDTEST:
78 - quarry
79 - filter
80 - siv
81 - mining lazer
82 - trains
83
84
85
86 ---
87
88
89 ## MOBS:
90
91 > #1 idea, - make mobs pathfind
92
93
94 ### sheep
95 - sheep can be punched to drop wool without damage
96 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
97
98
99 ### pig
100 - disable pig aggression
101 - make porkchop look nicer
102
103
104 ### ghosts
105 - make the default player model whited out
106 - ghosts can pass through any nodes
107 - ghosts fly around
108 - will follow you groaning about "diamonds", "need food", and "join us"
109 - they will fling you up in the air or punch you
110 - ghosts can drag you down into nodes and suffocate you
111 - spawn with cave sounds
112 - drop soul
113
114
115 ### node monster
116 - gets built out of nodes in the area
117 - will probabaly destroy you
118 - drops all nodes that it's made of when killed
119
120
121 ### Exploder
122 - sneaks up on you and then explodes
123 - drops gun powder
124
125
126 ---
127
128
129 ## Game Mechanics:
130 - xp (edit the node drops code to check if node has tag for xp)
131 - brewing
132 - enchanting/upgrading
133 - magic (wands, spells, etc)
134 - better combat ( sweep hit enemies, falling while hitting deals more damage )
135
136
137 ---
138
139
140 ## New Themes
141
142 ### mechanics (mechanical tools and machines)
143 - compressor (compresses nodes down)
144 - auto miner (digs whatever is in front of it)
145 - decompressor (opposite of compressor
146
147
148 ### automation 
149 - pipes
150 - pumps
151 - fluid  transfer
152 - fluid storage
153 - pipes should be able to move objects quickly
154
155
156 ### HALLOWEEN!
157 - lava acts like water in the nether but lava in the other worlds
158 - pumpkins
159 - Jack O'Lanterns
160 - corn and corn stalks
161 - decorations
162 - cobwebs
163 - costumes (somehow?)
164 - candy
165 - make grass and leaves orange during the month of October
166 - (Use a simple date check and override nodes)
167 - Gravestones
168 - Graveyards
169 - Candles
170 - candy apples
171 - Soul cake, make with cake and soul
172
173
174 ### Farming
175 - add fertilizer (pig drops bone randomly) 
176 - fertilizer is made out of bone - 
177 - fertilizer can make tall grass grow on regular grass
178 - bread - 3 bread in a row
179 - make sandwich with bread and cooked porkchop
180 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
181
182
183 ### Fishing
184 - have a rod that you can cast into water
185 - bobber entity which goes under water when fish on line
186
187
188 ---
189
190
191 ## New Items
192
193 > These don't seem to fit into any theme so list them all here
194
195 - sugar and sugar cane (grow near water on sand)
196 - rope and tnt arrows
197 - vehicles (car, powered minecarts, trains)
198 - hitscan flintlocks
199 - bows
200
201
202 ---
203
204
205 ## Ideas
206
207 > These ideas are all over the place but are good for future updates
208
209 - make pistons able to push and pull any node that does not use meta or inv
210 - make pistons able to push and pull deactivated pistons
211 - upgrade minecart physics even more 
212 - make torches abm that checks if player in area
213 - make furnace abm that checks if player in area
214 - 3d character
215 - make tnt hurt player
216 - rewrite minecart
217 - fix tool rightclick torch placement to replace buildable to nodes
218 - if placed last node put another stack into hand
219 - have falling node hurt player?
220 - add a function to set a velocity goal to entities and then implement it with all entities
221 - ^make a value if below then stop?
222 - colored chat messages
223 - check if everyone is in bed before going to next night
224 - also lock player in bed until they get out or daytime
225 - create a function to check if a node or group is below
226 - ^ set meta for player so that all mods can use it without calculating it
227 - ^ over and over again (saves cpu cycles)
228 - cars buildable in crafting table
229 - require gas pumps refine oil
230 - drive next to gas pump and car will fill with gas
231 - maybe have pump be rightclickable and then manually fill with gass using nozel
232 - minecart car train? - off rail use
233 - automatic step height for off rail use
234 - make cars follow each other
235 - oil which spawns underground in pools
236 - powered minecart car (engine car)
237 - chest minecart car
238 - player controls engine car
239 - make entities push against players
240
241
242 ---
243
244
245 ## Possible Applications
246
247 > causes object to magnetize towards player or other objects and stop after an inner radius
248 > use for better item magnet?
249 ```
250 if object:is_player() and object:get_player_name() ~= self.rider then
251       local player_pos = object:getpos()
252       pos.y = 0
253       player_pos.y = 0
254       
255       local currentvel = self.object:getvelocity()
256       local vel = vector.subtract(pos, player_pos)
257       vel = vector.normalize(vel)
258       local distance = vector.distance(pos,player_pos)
259       distance = (1-distance)*10
260       vel = vector.multiply(vel,distance)
261       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
262       
263       
264       if self.axis == "x"      then
265             self.object:add_velocity(vector.new(acceleration.x,0,0))
266       elseif self.axis == "z" then
267             self.object:add_velocity(vector.new(0,0,acceleration.z))
268       else
269             self.object:add_velocity(acceleration)
270       end
271       
272       - acceleration = vector.multiply(acceleration, -1)
273       - object:add_player_velocity(acceleration)
274 end
275 ```