Fizz

joined 2 years ago
MODERATOR OF
[–] Fizz@lemmy.nz 22 points 4 hours ago

On one hand fuck them for being anti consumer and on the other hand you got cooked.

[–] Fizz@lemmy.nz 2 points 6 hours ago

Most ones here will either spot a deer while doing their farm runs and then go and hike around the area trying to track it down. Shooting deer from a helicopter or dugout is extremely looked down on. (shooting ducks from a bivy is fine tho).

[–] Fizz@lemmy.nz 3 points 7 hours ago* (last edited 7 hours ago) (5 children)

Hunters try to account for the deers senses, approaching from up wind so they cant smell you. Sneaking so they cant hear you, it makes sense that you'd also use camo so they cant see you.

Most of the hunters I know go for the hi vis orange camo so you stand out to humans but not deer since they cannot see the colours.

[–] Fizz@lemmy.nz 5 points 7 hours ago

Sent this to my friend who dual boots and their reply was "thats why you use a version thats out of support". It always makes me laugh how much windows users hate security because of the way windows has pushed it on them.

[–] Fizz@lemmy.nz 11 points 7 hours ago (2 children)

dam beat me to posting this. I didnt believe it at first. Finally discord is acknowledging its linux users and I really hope they dont ban vesktop and other clients that have been keeping linux users alive.

[–] Fizz@lemmy.nz 1 points 8 hours ago (1 children)

You cannot say “Soviets sided with the Nazis lie" its objectively the truth. You can give reasons and excuses why they did but you cannot say that they didnt. The summary of your argument was Soviets were the only people fighting facism using the spanish civil war as an example. The Soviets were the only ones who saw the threat of Germany and they pursued aliiances to counter hilters rise. The made generous offers of support and it was refused. I dont even get your point about poland its just gross and doesnt help at all. They had to make an alliance with Germany to buy time for them to build up their military.

Overall I think those are pretty weak arguments when you have the full historical context. In order for me to be convinced to your side you would need to make the case that the soviets were genuinely opposed to facism and were not just acting on opportunities that were beneficial with/without ideology. You would need to show that the Soviets attempted to form a diplomatic alliance against the nazis. You would then need to make the case that the USSR was forced into an alliance with the Nazis.

It all falls apart when you start going over the context of each of these events. Look at the soviet motivation for assisting in the civil war, they were paid good for all the support they provided and benefited by gaining and ideological foothold in western europe as well as valuable military testing. Even with all that they couldnt help themselves and were purging the people that were supposed to be on their side during the fight against facisim. Also you completely ignore the fact that the countries around were democracies that were ideologically split and had just gone through a great war.

There is a lot say about this but I really dont want to spend hours digging through all the communications so this is off the dome. Russia is a very very bad faith actor in europe. They had just killed off their entire officier core. The only way they could assist was crossing countries that would absolutely not let them cross and most of Europe knew that once the red army arrived in those countries they'd never leave. To act like they were really pushing for a security pact is weak, there is no reason why any of the western powers should have trusted the soviets there was nothing to gain and they risked escalation in doing so. Keep in mind that the Soviets were also building relations with germany and as they got a deal with germany they dropped Litvinov and divided up europe. At the time this happened there was no threat pushing them to rush into this deal. They liked what they heard from Hitler they liked the idea of working together to carve up europe.

Lastly the soviets didnt just work with germany to buy time, they provided full direct war support to allow germany to wage war against europe. There were no signs that the soviets had any plans to change anything until Hitler backstabbed them.

There is so much more to be said about this argument and many people way smarter than I who have fleshed out this case. I could talk about appeasement but I don't believe its relevant enough to change any of the points here. I believe this argument is completely settled between scholars and the only people still repeating the soviet side are doing so for ideological reasons and do not care for the historical accuracy.

[–] Fizz@lemmy.nz 3 points 11 hours ago

Atrocity engine by Tim waggoner. I just picked it at random from the library and starting It i thought this is going to be such a shit book the author is so over the top. But now im near the end and it was a really fun read and I love the over the top writing. Im looking for the next book in the series

[–] Fizz@lemmy.nz 26 points 11 hours ago

Thats a good dad right there.

[–] Fizz@lemmy.nz 4 points 11 hours ago

Seems like theres little difference other than a shitter AI model and each is leading the market in their respective countries.

[–] Fizz@lemmy.nz 2 points 18 hours ago

It depends why you can't win. I'd say no just because the title is way to strong of a statement. But if you can't defend why you think the things you do then that should be a flag that you might want to reconsider your position and explore why you think that.

[–] Fizz@lemmy.nz 1 points 1 day ago

Corruption can be prosecuted

[–] Fizz@lemmy.nz 1 points 1 day ago

I did thanks for pointing that out.

 

I am working on the input and it feels like its getting out of hand. I wanted to check in with people and see how people structure their input handling.

Currently I have 1 function _unhandled_unput(event) and inside there I have a ton of elif statements trying to handle every possible situation and event. Its manageable at the moment but I only have like 4 events so its going to get very out of hand if I continue.

I need to have 100s of these events based on whats selected and what mouse/keyboard buttons are being pressed and I need some way to resuse the actions.

spoiler

func _unhandled_input(event):
	if event is InputEventMouseButton and event.pressed:
		if event.button_index == MOUSE_BUTTON_RIGHT:
			clear_selection()
			gui.queue_redraw()
			get_viewport().set_input_as_handled()
			return
	if selected_item == "colonist": #broken
		if event is InputEventKey:
			if event.OS.get_keycode_string() == "r":
				for colonist in selected_group:
					colonist.set_state("DRAFT")
					get_viewport().set_input_as_handled()
					gui.queue_redraw()
	#nothing selected dragbox to select things and single click to select things - does not work at the moment
	elif selected_type == "" or selected_type == "basic":
		if is_dragging and event is InputEventMouseMotion:
				drag_end = camera.get_global_mouse_position()
				cam_drag_end= get_viewport().get_mouse_position()
				get_selection(drag_start, drag_end)
				gui.queue_redraw()
				get_viewport().set_input_as_handled()
				return
		elif event is InputEventMouseButton and not event.pressed:
			is_dragging = false
			gui.queue_redraw()
			drag_start = null
			drag_end = null
			get_viewport().set_input_as_handled()
			return
		elif event is InputEventMouseButton and event.pressed:
			if event.button_index == MOUSE_BUTTON_LEFT:
				selected_type = "basic"
				is_dragging = true
				drag_start = camera.get_global_mouse_position()
				cam_drag_start = get_viewport().get_mouse_position()
				gui.queue_redraw()
				get_viewport().set_input_as_handled()
				return
	#command flow for dragging a selection box
	elif selected_type == "command":
		if selected_item == "structure_dict_growing":
			if is_dragging and event is InputEventMouseMotion:
				var grid_pos = tilemap.local_to_map(camera.get_global_mouse_position())
				var local_pos = tilemap.map_to_local(grid_pos)
				drag_end = local_pos + Vector2(32, 32)
				cam_drag_end = get_viewport().get_mouse_position()
				gui.queue_redraw()
				get_viewport().set_input_as_handled()
				return
			elif event is InputEventMouseButton and not event.pressed:
				if event.button_index == MOUSE_BUTTON_LEFT:
					is_dragging = false
					gui.queue_redraw()
					get_viewport().set_input_as_handled()
					MessageBus.rpc_id(1, "request_zone_growing", selected_item ,drag_start, drag_end, multiplayer.get_unique_id())
					drag_start = null
					drag_end = null
					return
			elif event is InputEventMouseButton and event.pressed:
				if event.button_index == MOUSE_BUTTON_LEFT:
					is_dragging = true
					#to snap to grid
					var grid_pos = tilemap.local_to_map(camera.get_global_mouse_position())
					var local_pos = tilemap.map_to_local(grid_pos)
					drag_start = local_pos - Vector2(32, 32)
					cam_drag_start = get_viewport().get_mouse_position() #this is broken cbf fixing maybe one day after selection is working 
					gui.queue_redraw()
					get_viewport().set_input_as_handled()
					return
	elif selected_type == "floor":
		if event is InputEventMouseButton and event.pressed:
			if event.button_index == MOUSE_BUTTON_LEFT:
				var global_mouse_pos = camera.get_global_mouse_position()
				var grid_pos = tilemap.local_to_map(global_mouse_pos)
				if selected_item == "":
					return
				MessageBus.rpc_id(1, "request_build_floor", selected_item, grid_pos, multiplayer.get_unique_id())
				get_viewport().set_input_as_handled()
				return
	elif selected_type == "building":
		if event is InputEventMouseButton and event.pressed:
			if event.button_index == MOUSE_BUTTON_LEFT:
				var global_mouse_pos = camera.get_global_mouse_position()
				var grid_pos = tilemap.local_to_map(global_mouse_pos)
				if selected_item == "":
					return
				MessageBus.rpc_id(1, "request_build_structure", selected_item, grid_pos, multiplayer.get_unique_id())
				get_viewport().set_input_as_handled()
				return

 

Edit: ah i was reading an old doc because the reddit comment I saw was 6 years old. The property is get_property_list()

I have a script that is a global it contains a bunch of dictionaries that describe items. I need a way to get a list of the different types.

Searching for solutions I found https://docs.godotengine.org/en/3.2/classes/class_script.html#class-script-method-get-script-property-list

but I cant seem to get it working. Godot says "Function "get_script_property_list()" not found in base self"

Example of the what im trying to get a list of

var tile_dict_grass = {
	"name": "grass",
	"source": 1,
	"atlas": Vector2i(1,0),
	"move_speed": 0.80,
	"path_cost": 2,
	"fertility": 1,
	"cleanliness": 1.5,
	"flammability": 0.60,
	"build_categories": "all",
	"solid": false
}
var tile_dict_rich_soil = {
	"name": "rich soil",
	"source": 1,
	"atlas": Vector2i(1,0),
	"move_speed": 0.80,
	"path_cost": 2,
	"fertility": 1.4,
	"cleanliness": -1.0,
	"flammability": 0.0,
	"build_categories": "all",
	"solid": false
}

How im trying to get it.

func get_tile_dict():
	var property_list = self.get_script_property_list()
	var tile_list = []
	for attr in dir(self):
		if attr.startswith('tile_dict'):
			value = getattr(self, attr)
			tile_list.append(value)
	return tile_list
 

I have a characterbody2d and I want to display the equipment being worn. So this equipment would need to be swapped around during game play.

I currently am using several sprites layered. How is best to handle this situation?

 

I'm using lutris to run Guild Wars and I'd also like to run guild wars toolbox which needs to be run after guild wars has already started.

I tried running guild wars and toolbox as different lutris installs but toolbox cant see the guild wars process.

Does anyone know how this can be done?

view more: next ›